Skip to main content

Python client for txtai

Version GitHub Release Date GitHub Issues GitHub Last Commit

txtai is an all-in-one AI framework 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

Metadata

Release files for txtai-py 9.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for txtai-py 9.12.0
File Size Uploaded
txtai_py-9.12.0.tar.gz 11.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for txtai-py 9.12.0
File Interpreter ABI Platform
txtai_py-9.12.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.5 kB

Release files / txtai_py-9.12.0.tar.gz

Download URL txtai_py-9.12.0.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1a7fcc13129099b4529f5111dc1df6eee7569238ef4378a9948e72a25aa30ffc
BLAKE2b-256 checksum
How to use checksums
97aa7718aaf4755b36769626ad105235e4f7ccc7651f2a276a643fd364ef3b62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / txtai_py-9.12.0-py3-none-any.whl

Download URL txtai_py-9.12.0-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5503762d62b359e71929408009072bddd8bda1a5187fc40a3e5ec12c3074e3e1
BLAKE2b-256 checksum
How to use checksums
18d5eddea0aeb7341c5b32010611c47f819403f3d6ef12ccafda2f6ac8225ac4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release history Release notifications | RSS feed

9.13.0

2 release files

This release

9.12.0 This release

2 release files

9.9.0

2 release files

9.8.0

2 release files

9.7.0

2 release files

9.6.0

2 release files

9.5.0

2 release files

9.4.0

2 release files

9.3.0

2 release files

9.2.0

2 release files

9.1.0

2 release files

9.0.0

2 release files

8.6.0

2 release files

8.5.0

2 release files

8.4.0

2 release files

8.3.0

2 release files

8.2.0

2 release files

8.1.0

2 release files

8.0.0

2 release files

7.5.0

2 release files

7.4.0

2 release files

7.3.0

2 release files

7.2.0

2 release files

7.1.0

2 release files

7.0.0

2 release files

6.3.0

2 release files

6.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page