💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows
Python agentsaiai-agentsembeddingsinformation-retrievallanguage-modellarge-language-modelsllmnlppythonragretrieval-augmented-generationsearchsearch-enginesemantic-searchsentence-embeddingstransformerstxtaivector-databasevector-search
Update test
davidmezzetti85b54eaf0c24
diff --git a/test/python/testdatabase/testembeddings.py b/test/python/testdatabase/testembeddings.pyindex b3a27a30..c8d789b7 100644--- a/test/python/testdatabase/testembeddings.py+++ b/test/python/testdatabase/testembeddings.py@@ -123,14 +123,14 @@ class TestEmbeddings(unittest.TestCase):self.embeddings.index([(uid, text, None) for uid, text in enumerate(self.data)])# Generate temp file path- index = os.path.join(tempfile.gettempdir(), "embeddings")+ index = os.path.join(tempfile.gettempdir(), "embeddings.insert")self.embeddings.save(index)# Modify indexself.embeddings.upsert([(0, "Looking out into the dreadful abyss", None)])# Save to a different location- indexupdate = os.path.join(tempfile.gettempdir(), "embeddings-update")+ indexupdate = os.path.join(tempfile.gettempdir(), "embeddings.update")self.embeddings.save(indexupdate)# Save to same location