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.15.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.15.0
File Size Uploaded Provenance Actions
txtai_py-9.15.0.tar.gz 11.5 kB Without provenance Details for txtai_py-9.15.0.tar.gz

Built distribution (wheel)

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

Total release size: 24.5 kB

Release files / txtai_py-9.15.0.tar.gz

Download URL txtai_py-9.15.0.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
eab17f187b2344a98d2a7ca754bf677a88349bd9efbadcc0f442ba8ac36982a3
BLAKE2b-256 checksum
How to use checksums
d1db2c6b42a447a5ed1bef5676f378e213fc6d9c9b7ff19b274a83ee5145ab2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

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

Download URL txtai_py-9.15.0-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35c00ac5c0e7add95cabfc25237f98c9a800d66bcc4c7db958335436777cee4f
BLAKE2b-256 checksum
How to use checksums
ff0b97df4e6d0314492fdb415d7e61c1d2b73485602033e2981b3f8b3ccb4ef9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for txtai-py 9.15.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

9.15.0 This release

2 release files No provenance

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