💡 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
davidmezzetti3391a83d8692
diff --git a/docs/api/docker.md b/docs/api/docker.mddeleted file mode 100644index ab141451..00000000--- a/docs/api/docker.md+++ /dev/null@@ -1,16 +0,0 @@-# Docker--A Dockerfile with commands to install txtai, all dependencies and default configuration is available in this repository.--The Dockerfile can be copied from the docker directory on GitHub locally. The following commands show how to run the API process.--```bash-docker build -t txtai.api -f docker/api.Dockerfile .-docker run --name txtai.api -p 8000:8000 --rm -it txtai.api--# Alternatively, if nvidia-docker is installed, the build will support-# GPU runtimes-docker run --name txtai.api --runtime=nvidia -p 8000:8000 --rm -it txtai.api-```--This will bring up an API instance without having to install Python, txtai or any dependencies on your machine!diff --git a/docs/api/index.md b/docs/api/index.mdindex 49b5df1a..6d1efa81 100644--- a/docs/api/index.md+++ b/docs/api/index.md@@ -68,10 +68,10 @@ workflow:args: ["es"]```-Assuming this YAML content is stored in a file named index.yml, the following command starts the API process.+Assuming this YAML content is stored in a file named config.yml, the following command starts the API process.```bash-CONFIG=index.yml uvicorn "txtai.api:app"+CONFIG=config.yml uvicorn "txtai.api:app"```uvicorn is a full-featured production ready server with support for SSL and more. See the [uvicorn deployment guide](https://www.uvicorn.org/deployment/) for details.@@ -98,7 +98,7 @@ The configuration above can be run in Python with:```pythonfrom txtai.api import API-app = API(index.yml)+app = API(config.yml)# Run actionapp.workflow("sumfrench", ["https://github.com/neuml/txtai"])@@ -106,6 +106,12 @@ app.workflow("sumfrench", ["https://github.com/neuml/txtai"])See this [link for a full list of methods](./methods).+## Run with containers++The API can be containerized and run. This will bring up an API instance without having to install Python, txtai or any dependencies on your machine!++[See this section for more information](/cloud/#api).+## Supported language bindingsThe following programming languages have bindings with the txtai API:diff --git a/mkdocs.yml b/mkdocs.ymlindex 9c42aaf3..2fe4a01c 100644--- a/mkdocs.yml+++ b/mkdocs.yml@@ -94,7 +94,6 @@ nav:- api/index.md- Cluster: api/cluster.md- Configuration: api/configuration.md- - Docker: api/docker.md- Methods: api/methods.md- Cloud: cloud.md- Further Reading: further.md