mitulagr2 commited on
Commit
ac0e438
·
1 Parent(s): 881c0e5
Files changed (1) hide show
  1. app/rag.py +1 -1
app/rag.py CHANGED
@@ -57,7 +57,7 @@ class ChatPDF:
57
  self.logger.info("initializing the vector store related objects")
58
  # client = QdrantClient(host="localhost", port=6333)
59
  client = QdrantClient(":memory:")
60
- self.vector_store = QdrantVectorStore(client=client, collection_name="rag_documents")
61
 
62
  self.logger.info("initializing the FastEmbedEmbedding")
63
  self.embed_model = FastEmbedEmbedding(model_name="BAAI/bge-small-en")
 
57
  self.logger.info("initializing the vector store related objects")
58
  # client = QdrantClient(host="localhost", port=6333)
59
  client = QdrantClient(":memory:")
60
+ self.vector_store = QdrantVectorStore(client=client, collection_name="rag_documents", enable_hybrid=True)
61
 
62
  self.logger.info("initializing the FastEmbedEmbedding")
63
  self.embed_model = FastEmbedEmbedding(model_name="BAAI/bge-small-en")