Skip to content

Commit

Permalink
added comments about what this class is
Browse files Browse the repository at this point in the history
  • Loading branch information
AMMAS1 committed Aug 2, 2024
1 parent 411dc24 commit f52a17b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions knowledge_storm/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ def makeStringRed(message):
return f"\033[91m {message}\033[00m"

class QdrantVectorStoreManager:
"""
This is a helper class to manage the Qdrant vector store. It is related to VectorRM retrieval model in rm.py.
It provides methods to create or update the vector store from a CSV file, before you initialize the VectorRM.
Use the function create_or_update_vector_store to create or update the vector store, then once you have the
vector store, you can initialize the VectorRM with the vector store path or the Qdrant server URL.
"""
@staticmethod
def _check_create_collection(client: QdrantClient, collection_name: str, model: HuggingFaceEmbeddings):
"""
Expand Down

0 comments on commit f52a17b

Please sign in to comment.