💡 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
Skip unittest for MacOS #780
davidmezzettiddb6c3ed228e
diff --git a/docs/embeddings/configuration/ann.md b/docs/embeddings/configuration/ann.mdindex 6ce134b1..53391875 100644--- a/docs/embeddings/configuration/ann.md+++ b/docs/embeddings/configuration/ann.md@@ -88,3 +88,5 @@ sqlite:```The SQLite backend stores embeddings in a SQLite database using [sqlite-vec](https://github.com/asg017/sqlite-vec). This backend supports 1-bit and 8-bit quantization at the storage level.++See [this note](https://alexgarcia.xyz/sqlite-vec/python.html#macos-blocks-sqlite-extensions-by-default) on how to run this ANN on MacOS.diff --git a/docs/faq.md b/docs/faq.mdindex 293385c5..33c3baf9 100644--- a/docs/faq.md+++ b/docs/faq.md@@ -111,6 +111,20 @@ Set the following environment parameters.__Issue__+Error running SQLite ANN on macOS++```+AttributeError: 'sqlite3.Connection' object has no attribute 'enable_load_extension'+```++__Solution__++See [this note](https://alexgarcia.xyz/sqlite-vec/python.html#macos-blocks-sqlite-extensions-by-default) for options on how to fix this.++----------++__Issue__+`ContextualVersionConflict` and/or package METADATA exception while running one of the [examples](../examples) notebooks on Google Colab__Solution__diff --git a/test/python/testann.py b/test/python/testann.pyindex f2e6bd8c..f313cb9c 100644--- a/test/python/testann.py+++ b/test/python/testann.py@@ -3,6 +3,7 @@ ANN module tests"""import os+import platformimport tempfileimport unittest@@ -172,6 +173,7 @@ class TestANN(unittest.TestCase):# Close ANNann.close()+ @unittest.skipIf(platform.system() == "Darwin", "SQLite extensions not supported on macOS")def testSQLite(self):"""Test SQLite backend@@ -179,6 +181,7 @@ class TestANN(unittest.TestCase):self.runTests("sqlite")+ @unittest.skipIf(platform.system() == "Darwin", "SQLite extensions not supported on macOS")def testSQLiteCustom(self):"""Test SQLite backend with custom settings