Support setting seed for reproducible LLM response generation

Anthropic models do not support seed. But offline, gemini and openai
models do. Use these to debug and test Khoj via KHOJ_LLM_SEED env var
This commit is contained in:
Debanjum
2024-10-30 02:20:38 -07:00
parent d44e68ba01
commit b3a63017b5
4 changed files with 17 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ dependencies = [
"django_apscheduler == 0.6.2",
"anthropic == 0.26.1",
"docx2txt == 0.8",
"google-generativeai == 0.7.2"
"google-generativeai == 0.8.3"
]
dynamic = ["version"]