Skip to main content

SingleStore Loader

pip install llama-index-readers-singlestore

The SingleStore Loader retrieves a set of documents from a specified table in a SingleStore database. The user initializes the loader with database information and then provides a search embedding for retrieving similar documents.

Usage

Here's an example usage of the SingleStoreReader:

from llama_index.readers.singlestore import SingleStoreReader

# Initialize the reader with your SingleStore database credentials and other relevant details
reader = SingleStoreReader(
    scheme="mysql",
    host="localhost",
    port="3306",
    user="username",
    password="password",
    dbname="database_name",
    table_name="table_name",
    content_field="text",
    vector_field="embedding",
)

# The search_embedding is an embedding representation of your query_vector.
# Example search_embedding:
#   search_embedding=[0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3]
search_embedding = [n1, n2, n3, ...]

# load_data fetches documents from your SingleStore database that are similar to the search_embedding.
# The top_k argument specifies the number of similar documents to fetch.
documents = reader.load_data(search_embedding=search_embedding, top_k=5)

Metadata

Release files for llama-index-readers-singlestore 0.7.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 llama-index-readers-singlestore 0.7.0
File Size Uploaded Provenance Actions
llama_index_readers_singlestore-0.7.0.tar.gz 4.1 kB Without provenance Details for llama_index_readers_singlestore-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-readers-singlestore 0.7.0
File Interpreter ABI Platform Actions
llama_index_readers_singlestore-0.7.0-py3-none-any.whl Python 3 none any Details for llama_index_readers_singlestore-0.7.0-py3-none-any.whl

Total release size: 7.9 kB

Release files / llama_index_readers_singlestore-0.7.0.tar.gz

Download URL llama_index_readers_singlestore-0.7.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3b03f2c29487663fa8c4647c0e7e0ba9676a853e8038f4c33d347a64d6b3179b
BLAKE2b-256 checksum
How to use checksums
9a5026158e8c2f3cb43a761f0d86ff7bc39d3638bd9dc7d71b6d3b4f4b519cbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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_singlestore-0.7.0-py3-none-any.whl

Download URL llama_index_readers_singlestore-0.7.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb7b146a110bd6414d3b490d8dd7b00a511556a9ddad50039905f84d00a6066b
BLAKE2b-256 checksum
How to use checksums
faa09bf422967622c30a0a2397f16544494b25396726a5ed76e65292924ed6c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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-singlestore 0.7.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.

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