Skip to content

Commit 95efb0a

Browse files
committed
add mistral LLM option
1 parent 164c1d3 commit 95efb0a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

flowsettings.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,15 @@
243243
},
244244
"default": False,
245245
}
246+
KH_LLMS["mistral"] = {
247+
"spec": {
248+
"__type__": "kotaemon.llms.ChatOpenAI",
249+
"base_url": "https://api.mistral.ai/v1",
250+
"model": "ministral-8b-latest",
251+
"api_key": config("MISTRAL_API_KEY", default="your-key"),
252+
},
253+
"default": False,
254+
}
246255

247256
# additional embeddings configurations
248257
KH_EMBEDDINGS["cohere"] = {

0 commit comments

Comments
 (0)