chore: updated deepseek local rag agent code
This commit is contained in:
parent
d1ca3ee810
commit
3b0fe0a5fc
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ from agno.tools.exa import ExaTools
|
||||||
from agno.embedder.ollama import OllamaEmbedder
|
from agno.embedder.ollama import OllamaEmbedder
|
||||||
|
|
||||||
|
|
||||||
class OllamaEmbedder(Embeddings):
|
class OllamaEmbedderr(Embeddings):
|
||||||
def __init__(self, model_name="snowflake-arctic-embed"):
|
def __init__(self, model_name="snowflake-arctic-embed"):
|
||||||
"""
|
"""
|
||||||
Initialize the OllamaEmbedderr with a specific model.
|
Initialize the OllamaEmbedderr with a specific model.
|
||||||
|
|
@ -243,7 +243,7 @@ def create_vector_store(client, texts):
|
||||||
vector_store = QdrantVectorStore(
|
vector_store = QdrantVectorStore(
|
||||||
client=client,
|
client=client,
|
||||||
collection_name=COLLECTION_NAME,
|
collection_name=COLLECTION_NAME,
|
||||||
embedding=OllamaEmbedder()
|
embedding=OllamaEmbedderr()
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add documents
|
# Add documents
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue