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.14.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.14.0
File Size Uploaded
txtai_py-9.14.0.tar.gz 11.5 kB Details

Built distribution (wheel)

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

Total release size: 24.5 kB

Release files / txtai_py-9.14.0.tar.gz

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

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

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

Release history Release notifications | RSS feed

This release

9.14.0 This release

2 release files

9.13.0

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