💡 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
Fix faiss detection logic
davidmezzettid01d30fdfe8d
diff --git a/src/python/txtai/ann/factory.py b/src/python/txtai/ann/factory.pyindex 9ddb3d0d..c13469ac 100644--- a/src/python/txtai/ann/factory.py+++ b/src/python/txtai/ann/factory.py@@ -3,16 +3,9 @@ Factory module"""from .annoy import Annoy+from .faiss import Faiss, FAISSfrom .hnsw import HNSW-# Conditionally import Faiss as it's only supported on Linux/macOS-try:- from .faiss import Faiss-- FAISS = True-except ImportError:- FAISS = False-class ANNFactory:"""