💡 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
davidmezzettiea8ec3a61206
diff --git a/docs/api/configuration.md b/docs/api/configuration.mdindex 80adabea..bbe8194a 100644--- a/docs/api/configuration.md+++ b/docs/api/configuration.md@@ -1,8 +1,8 @@# Configuration-Configuration is set through YAML. In most cases, YAML keys map to fields names in Python. The [example in the previous section](../) gave a full-featured example covering a wide array of configuration options.+Configuration is set through YAML. In most cases, YAML keys map to fields names in Python. The [example in the previous section](../) gave a full-featured example covering a wide array of configuration options.-Each section below describes the available configuration settings.+Each section below describes the available configuration settings.## Embeddings@@ -19,7 +19,7 @@ embeddings:content: true```-Two top level settings are available to control where indexes are saved and if an index is a read-only index.+Two top level settings are available to control where indexes are saved and if an index is a read-only index.### path```yaml@@ -88,7 +88,7 @@ task: string|listBoth single and multi-action tasks are supported.-The action parameter works slightly different when passed via configuration. The parameter(s) needs to be converted into callable method(s). If action is pipeline that has been defined in the current configuration, it will use that pipeline as the action.+The action parameter works slightly different when passed via configuration. The parameter(s) needs to be converted into callable method(s). If action is pipeline that has been defined in the current configuration, it will use that pipeline as the action.There are two special action names `index` and `upsert`. If those are used as the action, the task will collect workflow data elements and load them into defined the embeddings index.@@ -99,11 +99,11 @@ Otherwise, the action must be a path to a static callable function. The configurtask: string```-Optionally sets the type of task to create. For example, this could be a `file` task or a `retrieve` task. If this is not specified, a generic task is created. [The list of workflow tasks can be found here](../../workflow).+Optionally sets the type of task to create. For example, this could be a `file` task or a `retrieve` task. If this is not specified, a generic task is created. [The list of workflow tasks can be found here](../../workflow).### args```yamlargs: list```-Optional list of static arguments to pass to the workflow task. These are combined with workflow data to pass to each `__call__`.+Optional list of static arguments to pass to the workflow task. These are combined with workflow data to pass to each `__call__`.diff --git a/docs/embeddings/query.md b/docs/embeddings/query.mdindex 6cf1ad03..c595c55f 100644--- a/docs/embeddings/query.md+++ b/docs/embeddings/query.md@@ -15,7 +15,7 @@ The queries above search the index for similarity matches on `feel good story` a## SQL-txtai supports more complex queries with SQL. This is only supported if [content storage](../configuration/#content) is enabled. txtai has a translation layer that analyzes input SQL statements and combines similarity results with content stored in a relational database.+txtai supports more complex queries with SQL. This is only supported if [content storage](../configuration/#content) is enabled. txtai has a translation layer that analyzes input SQL statements and combines similarity results with content stored in a relational database.SQL queries are run through `embeddings.search` like natural language queries but the examples below only show the SQL query for conciseness.