💡 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 documentation
davidmezzetti667ed023f6a0
diff --git a/src/python/txtai/ann/base.py b/src/python/txtai/ann/base.pyindex 3456fd50..8f5e49c0 100644--- a/src/python/txtai/ann/base.py+++ b/src/python/txtai/ann/base.py@@ -30,6 +30,9 @@ class ANN:def load(self, path):"""Loads an ANN model at path.++ Args:+ path: path to load ann index"""raise NotImplementedError@@ -91,6 +94,9 @@ class ANN:def save(self, path):"""Saves an ANN model at path.++ Args:+ path: path to save ann index"""raise NotImplementedErrordiff --git a/src/python/txtai/ann/faiss.py b/src/python/txtai/ann/faiss.pyindex 5f9b9f6b..1189fa83 100644--- a/src/python/txtai/ann/faiss.py+++ b/src/python/txtai/ann/faiss.py@@ -114,7 +114,10 @@ class Faiss(ANN):def nprobe(self):"""- Gets or derives the nprobe search parameter+ Gets or derives the nprobe search parameter.++ Returns:+ nprobe setting"""# Get size of embeddings index