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 documentation

davidmezzetti88adf4d69de8
diff --git a/docs/embeddings/configuration/vectors.md b/docs/embeddings/configuration/vectors.md
index 35e81d6a..10afabc8 100644
--- a/docs/embeddings/configuration/vectors.md
+++ b/docs/embeddings/configuration/vectors.md
@@ -12,12 +12,12 @@ Sets the path for a vectors model. When using a transformers/sentence-transforme
## method
```yaml
-method: transformers|sentence-transformers|words|external
+method: transformers|sentence-transformers|llama.cpp|litellm|external|words
```
Embeddings method to use. If the method is not provided, it is inferred using the `path`.
-`sentence-transformers` and `words` require the [vectors](../../../install/#vectors) extras package to be installed.
+`sentence-transformers`, `llama.cpp`, `litellm` and `words` require the [vectors](../../../install/#vectors) extras package to be installed.
### transformers
@@ -31,6 +31,14 @@ from `transformers` to `meanpooling` or `clspooling` respectively.
Same as transformers but loads models with the [sentence-transformers](https://github.com/UKPLab/sentence-transformers) library.
+### llama.cpp
+
+Builds embeddings using a llama.cpp model. Supports both local and remote GGUF paths on the HF Hub.
+
+### litellm
+
+Builds embeddings using a LiteLLM model. See the [LiteLLM documentation](https://litellm.vercel.app/docs/providers) for the options available with LiteLLM models.
+
### words
Builds embeddings using a word embeddings model. Transformers models are the preferred vector backend in most cases. Word embeddings models may be deprecated in the future.
diff --git a/docs/install.md b/docs/install.md
index 9eca832e..5ca420e8 100644
--- a/docs/install.md
+++ b/docs/install.md
@@ -102,7 +102,7 @@ pip install txtai[scoring]
### Vectors
-Support for sentence-transformers models not on the HF Hub and word vectors.
+Additional vector methods.
```
pip install txtai[vectors]
diff --git a/docs/pipeline/text/llm.md b/docs/pipeline/text/llm.md
index c430a566..ca913c81 100644
--- a/docs/pipeline/text/llm.md
+++ b/docs/pipeline/text/llm.md
@@ -30,6 +30,8 @@ llm(
The LLM pipeline automatically detects the underlying LLM framework. This can also be manually set.
+See the [LiteLLM documentation](https://litellm.vercel.app/docs/providers) for the options available with LiteLLM models. Models with llama.cpp support both local and remote GGUF paths on the HF Hub.
+
```python
from txtai.pipeline import LLM