Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Add documentation for columns config

davidmezzettiae4f2a8a7e63
diff --git a/docs/embeddings/configuration/general.md b/docs/embeddings/configuration/general.md
index a41eca7a..803e4009 100644
--- a/docs/embeddings/configuration/general.md
+++ b/docs/embeddings/configuration/general.md
@@ -30,6 +30,15 @@ format: int|uuid function
Sets the auto id generation method. When this is not set, an autogenerated numeric sequence is used. This also supports [UUID generation functions](https://docs.python.org/3/library/uuid.html#uuid.uuid1). For example, setting this value to `uuid4` will generate random UUIDs. Setting this to `uuid5` will generate deterministic UUIDs for each input data row.
+## columns
+```yaml
+columns:
+ text: name of the text column
+ object: name of the object column
+```
+
+Sets the `text` and `object` column names. Defaults to `text` and `object` if not provided.
+
## format
```yaml
format: pickle|json