Обновить vector_store.py
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ import uuid
|
|||||||
COLLECTION_NAME = "knowledge_base"
|
COLLECTION_NAME = "knowledge_base"
|
||||||
EMBEDDING_MODEL = "nomic-embed-text"
|
EMBEDDING_MODEL = "nomic-embed-text"
|
||||||
VECTOR_SIZE = 768
|
VECTOR_SIZE = 768
|
||||||
|
#В ЗАДАНИИ НЕТ ChromaDB, поэтому в коде не используется
|
||||||
|
|
||||||
def get_embeddings():
|
def get_embeddings():
|
||||||
return OllamaEmbeddings(model=EMBEDDING_MODEL)
|
return OllamaEmbeddings(model=EMBEDDING_MODEL)
|
||||||
|
|||||||
Reference in New Issue
Block a user