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

davidmezzettie36b0e785138
diff --git a/README.md b/README.md
index 13f2b232..d04e8bea 100644
--- a/README.md
+++ b/README.md
@@ -66,7 +66,7 @@ txtai is built with Python 3.7+, [Hugging Face Transformers](https://github.com/
In addition to traditional search systems, a growing number of semantic search solutions are available, so why txtai?
-- `pip install txtai` is all you need
+- Up and running in minutes with [pip](https://neuml.github.io/txtai/install/) or [Docker](https://neuml.github.io/txtai/cloud/)
```python
# Get started in a couple lines
from txtai.embeddings import Embeddings
@@ -76,10 +76,19 @@ embeddings.index([(0, "Correct", None), (1, "Not what we hoped", None)])
embeddings.search("positive", 1)
#[(0, 0.2986203730106354)]
```
-- Works well with both small and big data - scale up as needed
+- Build applications in your programming language of choice via the API
+```yaml
+# app.yml
+embeddings:
+ path: sentence-transformers/all-MiniLM-L6-v2
+```
+```bash
+CONFIG=app.yml uvicorn "txtai.api:app"
+curl -X GET "http://localhost:8000/search?query=positive"
+```
+- Works with both small and big data - scale up as needed
- Rich data processing framework (pipelines and workflows) to pre and post process data
-- Work in your programming language of choice via the API
-- Modular with low footprint - install additional dependencies when you need them
+- Low footprint - install additional dependencies when you need them
- [Learn by example](#examples) - notebooks cover all available functionality
## Installation
diff --git a/docs/why.md b/docs/why.md
index 0e026a30..44701893 100644
--- a/docs/why.md
+++ b/docs/why.md
@@ -5,7 +5,7 @@
In addition to traditional search systems, a growing number of semantic search solutions are available, so why txtai?
-- `pip install txtai` is all you need
+- Up and running in minutes with [pip](../install/) or [Docker](../cloud/)
```python
# Get started in a couple lines
from txtai.embeddings import Embeddings
@@ -15,8 +15,17 @@ embeddings.index([(0, "Correct", None), (1, "Not what we hoped", None)])
embeddings.search("positive", 1)
#[(0, 0.2986203730106354)]
```
-- Works well with both small and big data - scale up as needed
+- Build applications in your programming language of choice via the API
+```yaml
+# app.yml
+embeddings:
+ path: sentence-transformers/all-MiniLM-L6-v2
+```
+```bash
+CONFIG=app.yml uvicorn "txtai.api:app"
+curl -X GET "http://localhost:8000/search?query=positive"
+```
+- Works with both small and big data - scale up as needed
- Rich data processing framework (pipelines and workflows) to pre and post process data
-- Work in your programming language of choice via the API
-- Modular with low footprint - install additional dependencies when you need them
+- Low footprint - install additional dependencies when you need them
- [Learn by example](../examples) - notebooks cover all available functionality