diff --git a/config/chat-vectorstore-qa.yml b/config/chat-vectorstore-qa.yml index 7df5e04..0708efc 100644 --- a/config/chat-vectorstore-qa.yml +++ b/config/chat-vectorstore-qa.yml @@ -17,7 +17,7 @@ llm: Helpful answer: vector: - vector_path: "http://qdrant:6333" + vector_path: "http://qdrant:6334" # vector_path: ./vectorstore/qdrant # Path to the vectorstore to do QA retrieval vector_download: null embeddings_path: ./embeddings/all-MiniLM-L6-v2 # Embeddings used to generate the vectors. To use from HF: sentence-transformers/all-MiniLM-L6-v2 diff --git a/docker-compose.yml b/docker-compose.yml index a33c2eb..72f0e4f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -47,12 +47,12 @@ services: restart: unless-stopped volumes: - ./data/vectorstore/qdrant:/qdrant/storage - - ./scripts/qdrant_config.yml:/qdrant/config/production.yaml + # - ./scripts/qdrant_config.yml:/qdrant/config/production.yaml environment: - QDRANT_ALLOW_RECOVERY_MODE=true - - VIRTUAL_HOST=qdrant.137.120.31.148.nip.io - - LETSENCRYPT_HOST=qdrant.137.120.31.148.nip.io - - VIRTUAL_PORT=6333 + # - VIRTUAL_HOST=qdrant.137.120.31.148.nip.io + # - LETSENCRYPT_HOST=qdrant.137.120.31.148.nip.io + # - VIRTUAL_PORT=6333 # ports: # - 6333:6333 # command: diff --git a/src/libre_chat/llm.py b/src/libre_chat/llm.py index ada4924..b1978eb 100644 --- a/src/libre_chat/llm.py +++ b/src/libre_chat/llm.py @@ -233,7 +233,7 @@ def build_vectorstore(self, documents_path: Optional[str] = None) -> Optional[Qd # path=self.conf.vector.vector_path, url=self.conf.vector.vector_path, collection_name="libre_chat_rag", - # prefer_grpc=True, + prefer_grpc=True, # force_recreate=True, ) # vectorstore = FAISS.from_documents(splitted_texts, embeddings)