fix: update default settings and local model guide (#156)
This commit is contained in:
committed by
GitHub
parent
4b2b334d2c
commit
9354ad8241
@@ -152,6 +152,7 @@ if config("LOCAL_MODEL", default=""):
|
||||
"__type__": "kotaemon.llms.ChatOpenAI",
|
||||
"base_url": "http://localhost:11434/v1/",
|
||||
"model": config("LOCAL_MODEL", default="llama3.1:8b"),
|
||||
"api_key": "ollama",
|
||||
},
|
||||
"default": False,
|
||||
}
|
||||
@@ -160,6 +161,7 @@ if config("LOCAL_MODEL", default=""):
|
||||
"__type__": "kotaemon.embeddings.OpenAIEmbeddings",
|
||||
"base_url": "http://localhost:11434/v1/",
|
||||
"model": config("LOCAL_MODEL_EMBEDDINGS", default="nomic-embed-text"),
|
||||
"api_key": "ollama",
|
||||
},
|
||||
"default": False,
|
||||
}
|
||||
|
Reference in New Issue
Block a user