AIDispatch - AI Voice Dispatch for Policing Redefined
AIDispatch is an experimental AI-powered voice dispatch plugin for LSPDFR.
This mod was heavily inspired by Grammar Police. Grammar Police has been one of the most useful LSPDFR plugins for years, but for me personally it was becoming difficult to use because of accent recognition and strict phrase/keyword requirements. I wanted something that felt similar in purpose, but that could understand more natural speech instead of needing very specific commands.
AIDispatch uses AI to listen to your radio request, understand what you are trying to do, and trigger the matching Policing Redefined dispatch action.
The goal is simple:
Talk to dispatch naturally.
Instead of memorizing exact phrases, you can say things in a more normal way and the AI will try to understand the intent. For example, if you ask for medical help, backup, a plate check, a tow truck, a ped check, or say that you are going 10-8, busy, code 6, on scene, on a traffic stop, etc., AIDispatch will try to pick the correct dispatch action.
Current features include(basically everything you can do with Grammar police):
Natural voice dispatch requests
Gemini AI voice understanding
Policing Redefined dispatch integration
Plate checks
Ped checks
Vehicle checks
Backup requests
Traffic stop backup
K9 requests
EMS requests
Fire department requests
Tow requests
Coroner requests
Animal control requests
Traffic control requests
Pursuit-related requests
10-code/status commands
Set yourself available/unavailable for LSPDFR calls
Code 4, code 5, code 6, 10-8, 10-6, 10-7, on scene, responding, traffic stop, transporting, etc.
Optional radio key-up/key-down sounds
Logs for testing and bug reports
This mod was also inspired by NPCAI 3.0 and the way AI can make LSPDFR feel more natural and immersive. AIDispatch is not connected to NPCAI, but NPCAI helped inspire the idea of using AI to understand what the player is saying instead of relying only on fixed keywords.
Important:
This is a public alpha/test build. Bugs are expected.
Right now AIDispatch is built around Policing Redefined. My goal for the future is to expand compatibility with other popular LSPDFR plugins, including Stop The Ped and Ultimate Backup, so players who do not use Policing Redefined can still benefit from AI-powered dispatch controls.
Requirements:
GTA V Legacy
RAGE Plugin Hook
LSPDFR
Policing Redefined installed and working
A Gemini API key
Microphone
Internet connection
You can get a Gemini API key here (free):
https://aistudio.google.com/api-keys
Grammar Police is not required. For testing, I recommend disabling Grammar Police so you know which plugin is responding to your voice commands.
Ped checks:
Ped checks rely on Policing Redefined. In some cases, the ped may need to be identified through Policing Redefined before PR allows a dispatch ped check.
Testing / bug reports:
AIDispatch creates a log file here:
Grand Theft Auto V Legacy\plugins\LSPDFR\AIDispatch\AIDispatch.log
If something does not work, please send the log and include:
What you asked dispatch to do
What happened
What you expected to happen
Whether Policing Redefined can do the same action manually
Your Gemini API key is redacted in the log.
This is still early, but the goal is to create a modern AI-powered voice dispatch system for LSPDFR that feels more natural, more flexible, and easier to use during patrol.
Edited by boboediting
Short Description
AI disclosure
The author has disclosed that AI tools were used in creating the following aspects of this file:
- Description
- Mod and Mod Content (Substantial)
I'm absolutely terrible at codding. I always use AI to troubleshoot, help me create, give me feedback and ideas on what to upload next and how to keep a pase for the future updates.
Grammar Police - Heavy inspiration for the original voice-dispatch concept
NPCAI 3.0 - Inspiration for using AI voice understanding in LSPDFR gameplay
Policing Redefined - Required dependency and dispatch-action framework used by AIDispatch
Google Gemini - AI voice understanding API used by the plugin
Recommended Comments
Create an account or sign in to comment