| 123456789101112 |
- <?php
- /**
- * config/ai.php
- *
- * Ollama LLM configuration shared by controllers that need AI inference.
- * Matches the setup used in controllers/ollamaGenerate.php.
- */
- define('OLLAMA_HOST', 'http://192.168.8.73:11434');
- define('OLLAMA_MODEL', 'llama3.1:8b-instruct-q4_K_M');
- define('OLLAMA_TIMEOUT', 60); // seconds — field mapping is fast
- define('OLLAMA_TEMPERATURE', 0.1); // low temp for deterministic JSON output
|