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 cloud config to application.upsert method, closes #306

davidmezzetti2f965360426d
diff --git a/src/python/txtai/app/base.py b/src/python/txtai/app/base.py
index f71e0c3f..7a797e63 100644
--- a/src/python/txtai/app/base.py
+++ b/src/python/txtai/app/base.py
@@ -392,7 +392,7 @@ class Application:
# Save index if path available, otherwise this is an memory-only index
if self.config.get("path"):
- self.embeddings.save(self.config["path"])
+ self.embeddings.save(self.config["path"], self.config.get("cloud"))
# Reset document stream
self.documents.close()