mirror of
https://github.com/BoardWare-Genius/jarvis-models.git
synced 2025-12-13 16:53:24 +00:00
update
This commit is contained in:
@ -31,7 +31,7 @@ class ChromaQuery(Blackbox):
|
||||
def processing(self, question: str, collection_id) -> str:
|
||||
|
||||
# load or create collection
|
||||
collection = self.client.get_or_create_collection(collection_id, embedding_function=self.embedding_model)
|
||||
collection = self.client.get_collection(collection_id, embedding_function=self.embedding_model)
|
||||
|
||||
# query it
|
||||
results = collection.query(
|
||||
|
||||
Reference in New Issue
Block a user