LlamaIndex Readers Integration: txtai
Overview
The txtai Reader retrieves documents through an existing in-memory txtai index. These documents can then be used in downstream LlamaIndex data structures. If you wish to use txtai itself as an index to organize documents, insert documents, and perform queries on them, please use VectorStoreIndex with TxtaiVectorStore.
Installation
You can install the txtai Reader via pip:
pip install llama-index-readers-txtai
Usage
from llama_index.readers.txtai import TxtaiReader
# Initialize TxtaiReader with an existing txtai index
reader = TxtaiReader(index="<txtai Index object>")
# Load data from txtai index
documents = reader.load_data(
query="<Query Vector>",
id_to_text_map={"<ID>": "<Text>"},
k=4,
separate_documents=True,
)
This loader is designed to be used as a way to load data into LlamaIndex.
Metadata
Release files for llama-index-readers-txtai 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_readers_txtai-0.6.0.tar.gz | 4.1 kB | Without provenance | Details for llama_index_readers_txtai-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_readers_txtai-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_readers_txtai-0.6.0-py3-none-any.whl |
Total release size: 7.9 kB
Release files / llama_index_readers_txtai-0.6.0.tar.gz
| Download URL | llama_index_readers_txtai-0.6.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fc71fff72ab0cd41e563e333e0462d829936eb3f165eacbcc825973d2e7e13a
|
|
BLAKE2b-256 checksum How to use checksums |
c3bd491b03a6a29ca48e3de5f122b23aa23b29911ec2426429473b5f6d432959
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / llama_index_readers_txtai-0.6.0-py3-none-any.whl
| Download URL | llama_index_readers_txtai-0.6.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e6bc5da225f2d6619cd62f6bacd1e46e0c764b59ea74d920546696806b6ad50
|
|
BLAKE2b-256 checksum How to use checksums |
3c12f6ca7c31f951c9eac573c2c689b121ac10f350f95641ab424d0e06bf7e48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for llama-index-readers-txtai 0.6.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.