Python client for txtai
Project description
Python client for txtai
txtai is an all-in-one embeddings database for semantic search, LLM orchestration and language model workflows.
This repository contains Python bindings for the txtai API. This is a minimal dependency library for Python designed for use cases where txtai is running through the API. In all other cases, txtai should be installed directly.
Installation
txtai.py can be installed via PyPI
pip install txtai.py
Examples
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.py 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.py
cd txtai.py/examples
python embeddings.py
python extractor.py
python labels.py
python pipelines.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file txtai.py-8.0.0.tar.gz
.
File metadata
- Download URL: txtai.py-8.0.0.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71094e0a3b72afa99247299d1daed94b84d3643a02ab12bc4010456d46f8296b |
|
MD5 | b2b8f2b45768e73583d1eb397e814fe8 |
|
BLAKE2b-256 | a4f85b9e024272e6fa40e0eb0ff1073b8ed399cbb393e32dfc08206db1dca435 |
File details
Details for the file txtai.py-8.0.0-py3-none-any.whl
.
File metadata
- Download URL: txtai.py-8.0.0-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9c768ed9c72663ff1a9605bd1255187b5e66efb02b95855630ae75eda841f59 |
|
MD5 | 0fb3f866e61bf363458a11ec70d41d4f |
|
BLAKE2b-256 | d586a6774f06ff6970956c2f47cc8f79e9a92a78a3989643dca15f78e3fe9d3e |