mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
fix: do not use hardware ID in document ID generation
This commit is contained in:
@@ -622,7 +622,7 @@ def store_docs_in_vector_db(docs, collection_name, overwrite: bool = False) -> b
|
|||||||
|
|
||||||
for batch in create_batches(
|
for batch in create_batches(
|
||||||
api=CHROMA_CLIENT,
|
api=CHROMA_CLIENT,
|
||||||
ids=[str(uuid.uuid1()) for _ in texts],
|
ids=[str(uuid.uuid4()) for _ in texts],
|
||||||
metadatas=metadatas,
|
metadatas=metadatas,
|
||||||
embeddings=embeddings,
|
embeddings=embeddings,
|
||||||
documents=texts,
|
documents=texts,
|
||||||
|
|||||||
Reference in New Issue
Block a user