💡 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 #705
davidmezzettif28225b0916e
diff --git a/docs/embeddings/configuration/general.md b/docs/embeddings/configuration/general.mdindex 3c66e2fc..27fd3dac 100644--- a/docs/embeddings/configuration/general.md+++ b/docs/embeddings/configuration/general.md@@ -9,6 +9,8 @@ keyword: booleanEnables sparse keyword indexing for this embeddings.+When enabled, this parameter creates a BM25 index for full text search. It also implicitly disables the [defaults](../vectors/#defaults) setting for vector search.+## hybrid```yamlhybrid: boolean@@ -16,6 +18,8 @@ hybrid: booleanEnables hybrid (sparse + dense) indexing for this embeddings.+When enabled, this parameter creates a BM25 index for full text search. It has no effect on the [defaults](../vectors/#defaults) or [path](../vectors/#path) settings.+## indexes```yamlindexes: dictdiff --git a/docs/embeddings/configuration/vectors.md b/docs/embeddings/configuration/vectors.mdindex 10afabc8..4c82baf4 100644--- a/docs/embeddings/configuration/vectors.md+++ b/docs/embeddings/configuration/vectors.md@@ -10,6 +10,13 @@ path: stringSets the path for a vectors model. When using a transformers/sentence-transformers model, this can be any model on the[Hugging Face Hub](https://huggingface.co/models) or a local file path. Otherwise, it must be a local file path to a word embeddings model.+## defaults+```yaml+defaults: boolean+```++Uses default vector model path when enabled (default setting is True) and `path` is not provided. See [this link](../) for an example.+## method```yamlmethod: transformers|sentence-transformers|llama.cpp|litellm|external|wordsdiff --git a/docs/faq.md b/docs/faq.mdindex 58b8dbfb..32a85b7f 100644--- a/docs/faq.md+++ b/docs/faq.md@@ -91,7 +91,7 @@ SQLError: no such function: json_extract__Solution__-Upgrade Python version as it doesn't have SQLite support for json_extract+Upgrade Python version as it doesn't have SQLite support for `json_extract`----------@@ -101,7 +101,15 @@ Segmentation faults and similar errors on macOS__Solution__-Disable OpenMP threading via the environment variable `export OMP_NUM_THREADS=1` or downgrade PyTorch to <= 1.12. See issue [#377](https://github.com/neuml/txtai/issues/377) for more.+Set the following environment parameters.++- Disable OpenMP threading via the environment variable `export OMP_NUM_THREADS=1`+- Disable PyTorch MPS device via `export PYTORCH_MPS_DISABLE=1`+- Disable llama.cpp metal via `export LLAMA_NO_METAL=1`++If the issue is with a training pipeline.++- Disable GPU training via `export ACCELERATE_USE_CPU=1`----------