Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Add comment

davidmezzettic28327b07c28
diff --git a/src/python/txtai/embeddings/transform.py b/src/python/txtai/embeddings/transform.py
index 58575a7c..55d7f238 100644
--- a/src/python/txtai/embeddings/transform.py
+++ b/src/python/txtai/embeddings/transform.py
@@ -89,6 +89,7 @@ class Transform:
documents: iterable collection (id, data, tags)
"""
+ # Batch and index offset. Index offset increments by count of documents streamed for vectorization
batch, offset = [], 0
# Iterate and process documents stream