Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Update test

davidmezzettiba9a5fce9d92
diff --git a/test/python/testdatabase/testembeddings.py b/test/python/testdatabase/testembeddings.py
index 7d63ec7b..a7d8d1c0 100644
--- a/test/python/testdatabase/testembeddings.py
+++ b/test/python/testdatabase/testembeddings.py
@@ -341,7 +341,7 @@ class TestEmbeddings(unittest.TestCase):
embeddings.index([(uid, text, None) for uid, text in enumerate(self.data)])
# Search for best match
- result = embeddings.search("feel good story with lottery in text", 1)[0]
+ result = embeddings.search("feel good story with maine in text", 1)[0]
self.assertEqual(result["text"], self.data[4])