Update README.md
Browse files
README.md
CHANGED
|
@@ -51,3 +51,10 @@ curl -N "http://localhost:8000/rag?query=List+txtai+strengths&maxlength=2048&str
|
|
| 51 |
|
| 52 |
Use the language or library of choice to interact with the API. TxtAI also provides a series of client libraries for [JavaScript](https://github.com/neuml/txtai.js), [Java](https://github.com/neuml/txtai.java), [Rust](https://github.com/neuml/txtai.rs) and [Go](https://github.com/neuml/txtai.go).
|
| 53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
Use the language or library of choice to interact with the API. TxtAI also provides a series of client libraries for [JavaScript](https://github.com/neuml/txtai.js), [Java](https://github.com/neuml/txtai.java), [Rust](https://github.com/neuml/txtai.rs) and [Go](https://github.com/neuml/txtai.go).
|
| 53 |
|
| 54 |
+
## Run with Docker
|
| 55 |
+
|
| 56 |
+
If you don't want to install TxtAI, these applications can instead be run with TxtAI's Docker Image.
|
| 57 |
+
|
| 58 |
+
```
|
| 59 |
+
docker run -it -p 8000:8000 -v /tmp/config:/config -e CONFIG=rag.yml --entrypoint uvicorn neuml/txtai-gpu --host 0.0.0.0 txtai.api:app
|
| 60 |
+
```
|