Treat index id as auto-generated field (#27)
* Treat index id as auto-generated field * fix Can't create index: KeyError: 'embedding' #28 * udpate docs * Update requirement * Use lighter default local embedding model --------- Co-authored-by: ian <ian@cinnamon.is>
This commit is contained in:
committed by
GitHub
parent
66905d39c4
commit
917fb0a082
@@ -119,10 +119,10 @@ if config("LOCAL_MODEL", default=""):
|
||||
}
|
||||
|
||||
if len(KH_EMBEDDINGS) < 1:
|
||||
KH_EMBEDDINGS["local-mxbai-large-v1"] = {
|
||||
KH_EMBEDDINGS["local-bge-base-en-v1.5"] = {
|
||||
"spec": {
|
||||
"__type__": "kotaemon.embeddings.FastEmbedEmbeddings",
|
||||
"model_name": "mixedbread-ai/mxbai-embed-large-v1",
|
||||
"model_name": "BAAI/bge-base-en-v1.5",
|
||||
},
|
||||
"default": True,
|
||||
}
|
||||
@@ -164,7 +164,6 @@ SETTINGS_REASONING = {
|
||||
KH_INDEX_TYPES = ["ktem.index.file.FileIndex"]
|
||||
KH_INDICES = [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "File",
|
||||
"config": {},
|
||||
"index_type": "ktem.index.file.FileIndex",
|
||||
|
Reference in New Issue
Block a user