This is a fully featured, free*, functional UNITY 6 AI project. Features:
- NPC with speech interface: using STT+LLM+TTS cloud services
- Speech to Text providers supported: GroqCloud(OpenAI Whisper), ElevenLabs & more
- LLM supported: GroqCloud and Ollama
- Text to Speech supported: Speechify, ElevenLabs
- RAG supported: Google Web Search
(* => excluding paid cloud services for the NPC and assumes you don't exceed the Vivox Voice services complementary service tresholds)
- This branch is running on UNITY 6000.2.6f2
- AI API keys are stored in a file in Assets/Resources/Secure (not included)
- Google Gemini LLM is REMOVED from the project as the free API tier daily limits have been so much reduced it is no longer viable to use Gemini in this project
- Pull the branch
- Open Unity Editor, when prompted about Errors, select Ignore and do not start in safe mode
- Go to File -> Open Scene -> BaMMain
- Import the uLipSync package: Top Menu -> Assets -> Import Package -> Custom Package -> Navigate to the uLipSync package in this repository and import it
- If you want the InGame Debug Console then go to the Unity Store and purchase it (free)
- Be sure to get API keys from the following cloud providers: HuggingFace (partially free), GroqCloud (partially free), Speechify (partially free).
- Add the API Keys in /Assets/Resources/Secure/APIKeys.txt with the following lines (no bullets)
- Google_API_Key:YourKeyHere
- Google_SearchID:YourKeyHere
- Groq_API_Key:YourKeyHere
- Speechify_API_Key:YourKeyHere
- ElevenLabs_API_Key:YourKeyHere
- Currently this code is tested for iOS, Android, Windows and WebGL