🏠 Configuring Ollama (Local Offline AI)
If you value privacy or want to work completely offline, you can run open-source LLMs directly on your own GPU/CPU using Ollama.
🚀 Setup Instructions
- Download and install Ollama from ollama.com.
- Open your command line/terminal and run your chosen model (e.g.
ollama run llama3orollama run codegemma). - Ensure the Ollama application is running in the background. It exposes a local server at
http://localhost:11434. - Open Unity and navigate to Tools > Brody AI > Tool Settings.
- Set the default provider to Ollama.
- Type the model name in the Model ID field (e.g.
llama3or custom model name). - Click Test Connection to verify.
💻 Hardware Guidelines
Local inference is resource-intensive. For a smooth coding experience:
- Minimum VRAM: 6GB of VRAM (NVIDIA GPU recommended) to run 7B-parameter models.
- System RAM: 16GB RAM.
- If your system does not meet these specs, the AI responses might stream very slowly. Consider using a free cloud option instead (see OpenRouter).