Skip to main content

Python client for txtai

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

txtai.py-8.6.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

txtai.py-8.6.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file txtai.py-8.6.0.tar.gz.

File metadata

  • Download URL: txtai.py-8.6.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for txtai.py-8.6.0.tar.gz
Algorithm Hash digest
SHA256 15648fc3f6fdf07bdaf9c783d7085b17bff83ddf21a0fcccea1b92bd8d6d3a16
MD5 dbc25e97cdee3c7d17d3b7a8dec1160e
BLAKE2b-256 2b047c3b51e0feb3c3c714da8330a80e31fac0871eb1391a1518646fb208aecf

See more details on using hashes here.

File details

Details for the file txtai.py-8.6.0-py3-none-any.whl.

File metadata

  • Download URL: txtai.py-8.6.0-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.17

File hashes

Hashes for txtai.py-8.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38504d85df3ab5ec8531ad0455076c74409992b0de4f65c157f967bd5a7cfd90
MD5 61b827d4b7c425fa385abf492bdf507b
BLAKE2b-256 b6eafedfba26a58fa5c591c0e174f6718d593cbf2aeebd58727af663233e761b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page