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 embeddings database 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-7.0.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

txtai.py-7.0.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: txtai.py-7.0.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for txtai.py-7.0.0.tar.gz
Algorithm Hash digest
SHA256 eed1fec8da1652505ad6ecc323f389becdfb7e4298e6ab35ef1a42c6e9632d6b
MD5 73d8e802f5e243f544ca57e9d1aecd12
BLAKE2b-256 3dee9314fa92857b50a0eb3d3a6986ea74107678cf6cbde6daf5f30995a0b6ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: txtai.py-7.0.0-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for txtai.py-7.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea2b53ddab282ad9bdeadf7b5c840f2a0fb24534a48533aa0241a83a8964c5ef
MD5 c19c25252c69d336fbed75d9b26a08e6
BLAKE2b-256 e199f0218708efc47495826f2ae6c93fd3c96fc8c6abe96842d02ce557390de8

See more details on using hashes here.

Supported by

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