mirror of
https://github.com/BoardWare-Genius/jarvis-models.git
synced 2025-12-13 16:53:24 +00:00
feat: fix text_ids parameter error
This commit is contained in:
@ -125,7 +125,7 @@ class ChromaUpsert(Blackbox):
|
|||||||
if text is not None and text_ids is not None:
|
if text is not None and text_ids is not None:
|
||||||
Chroma.from_texts(texts=[text], embedding=embedding_model, ids=[text_ids], collection_name=chroma_collection_id, client=client)
|
Chroma.from_texts(texts=[text], embedding=embedding_model, ids=[text_ids], collection_name=chroma_collection_id, client=client)
|
||||||
|
|
||||||
response_string = f"\n{text} ids is {ids}"
|
response_string = f"\n{text} ids is {text_ids}"
|
||||||
|
|
||||||
|
|
||||||
vector_count = client.get_collection(chroma_collection_id).count()
|
vector_count = client.get_collection(chroma_collection_id).count()
|
||||||
|
|||||||
Reference in New Issue
Block a user