We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5137c46 commit e398a37Copy full SHA for e398a37
1 file changed
src/data_generation/reactome/__init__.py
@@ -53,11 +53,13 @@ def upload_to_chromadb(
53
embeddings_instance: Embeddings
54
if hf_model is None: # Use OpenAI
55
embeddings_instance = OpenAIEmbeddings(
56
+ chunk_size=500,
57
show_progress_bar=True,
58
)
59
elif hf_model.startswith("openai/text-embedding-"):
60
61
model=hf_model[len("openai/") :],
62
63
64
65
elif "HUGGINGFACEHUB_API_TOKEN" in os.environ:
0 commit comments