Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Added documentation for storevectors

davidmezzetti8ab5f2e54eb4
diff --git a/README.md b/README.md
index 46952614..d94eaebb 100644
--- a/README.md
+++ b/README.md
@@ -88,6 +88,7 @@ Embeddings({"method": "transformers",
# Word embeddings model
Embeddings({"path": vectors,
+ "storevectors": True,
"scoring": "bm25",
"pca": 3,
"quantize": True})
@@ -108,6 +109,13 @@ path: string
Required field that sets the path for a vectors model. When method set to _transformers_, this must be a path to a Hugging Face transformers model. Otherwise,
it must be a path to a local word embeddings model.
+#### storevectors
+```yaml
+storevectors: boolean
+```
+
+Enables copying of a vectors model set in path into the embeddings models output directory on save. This option enables a fully encapsulated index with no external file dependencies.
+
#### scoring
```yaml
scoring: bm25|tfidf|sif