| Crates.io | txtai |
| lib.rs | txtai |
| version | 9.0.0 |
| created_at | 2020-12-16 22:25:07.195427+00 |
| updated_at | 2025-08-28 20:15:56.055698+00 |
| description | Rust client for txtai |
| homepage | https://github.com/neuml/txtai.rs |
| repository | https://github.com/neuml/txtai.rs |
| max_upload_size | |
| id | 323739 |
| size | 74,026 |
Rust client for txtai
txtai is an all-in-one AI framework for semantic search, LLM orchestration and language model workflows.
This repository contains Rust bindings for the txtai API.
Add the following lines to your project Cargo.toml file:
[dependencies]
txtai = { version = "9.0" }
tokio = { version = "0.2", features = ["full"] }
This adds txtai as a dependency as well as tokio given txtai uses async io.
The examples directory has a series of examples that give an overview of txtai. See the list of examples below.
| Example | Description |
|---|---|
| Introducing txtai | Overview of the functionality provided by txtai |
| Extractive QA with txtai | Extractive question-answering with txtai |
| Labeling with zero-shot classification | Labeling with zero-shot classification |
| Pipelines and workflows | Pipelines and workflows |
txtai.rs connects to a txtai api instance. See this link for details on how to start a new api instance.
Once an api instance is running, do the following to run the examples.
git clone https://github.com/neuml/txtai.rs
cd txtai.rs/examples/demo
cargo run