feat: fix text_ids parameter error

This commit is contained in:
ACBBZ
2025-08-19 11:20:02 +08:00
parent 601227ffcd
commit 85a2c21b69

View File

@ -125,7 +125,7 @@ class ChromaUpsert(Blackbox):
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)
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()