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.13.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.13.0
File Size Uploaded
txtai_py-9.13.0.tar.gz 11.5 kB Details

Built distribution (wheel)

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

Total release size: 24.5 kB

Release files / txtai_py-9.13.0.tar.gz

Download URL txtai_py-9.13.0.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f13480a6a4fb9e3d4140dc283018e1ad4dcca8a412b01e4a0d8bf21199bc6854
BLAKE2b-256 checksum
How to use checksums
afbe7414decd3587e980cdf39f2f56d7ece7f8d763a19e8346e3d12a3b8af906
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.13.0-py3-none-any.whl

Download URL txtai_py-9.13.0-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
904006a3b5d911b4cedc264ef7c8b8c6020468d08d9d614b8e2492907f37f07a
BLAKE2b-256 checksum
How to use checksums
58cb0e40a437ca19564de46da9ef63bb8edb8babecb589661a2be07ab325424a
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

This release

9.13.0 This release

2 release files

9.12.0

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