💡 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
davidmezzetti305db679886d
diff --git a/test/python/testdatabase/testembeddings.py b/test/python/testdatabase/testembeddings.pyindex c8d789b7..2a62d36d 100644--- a/test/python/testdatabase/testembeddings.py+++ b/test/python/testdatabase/testembeddings.py@@ -148,6 +148,11 @@ class TestEmbeddings(unittest.TestCase):result = self.embeddings.search("feel good story", 1)[0]self.assertEqual(result["text"], self.data[4])+ # Save back to different location+ self.embeddings.save(indexupdate)+ result = self.embeddings.search("feel good story", 1)[0]+ self.assertEqual(result["text"], self.data[4])+def testNotImplemented(self):"""Tests exceptions for non-implemented methods