LlamaIndex Readers Integration: Myscale
Overview
MyScale Reader allows loading data from a MyScale backend. It constructs a query to retrieve documents based on a given query vector and additional search parameters.
Installation
You can install Myscale Reader via pip:
pip install llama-index-readers-myscale
Usage
from llama_index.readers.myscale import MyScaleReader
# Initialize MyScaleReader
reader = MyScaleReader(
myscale_host="<MyScale Host>", # MyScale host address
username="<Username>", # Username to login
password="<Password>", # Password to login
database="<Database Name>", # Database name (default: 'default')
table="<Table Name>", # Table name (default: 'llama_index')
index_type="<Index Type>", # Index type (default: "IVFLAT")
metric="<Metric>", # Metric to compute distance (default: 'cosine')
batch_size=32, # Batch size for inserting documents (default: 32)
index_params=None, # Index parameters for MyScale (default: None)
search_params=None, # Search parameters for MyScale query (default: None)
)
# Load data from MyScale
documents = reader.load_data(
query_vector=[0.1, 0.2, 0.3], # Query vector
where_str="<Where Condition>", # Where condition string (default: None)
limit=10, # Number of results to return (default: 10)
)
This loader is designed to be used as a way to load data into LlamaIndex and/or subsequently used as a Tool in a LangChain Agent.
Metadata
Release files for llama-index-readers-myscale 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_myscale-0.6.0.tar.gz | 5.0 kB | Without provenance | Details for llama_index_readers_myscale-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_readers_myscale-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_readers_myscale-0.6.0-py3-none-any.whl |
Total release size: 9.7 kB
Release files / llama_index_readers_myscale-0.6.0.tar.gz
| Download URL | llama_index_readers_myscale-0.6.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e97ff2658046d008f0d98d36429f939bc22ee442a6f449a7be3452121eff9d5
|
|
BLAKE2b-256 checksum How to use checksums |
28f66068a6ae4c9288c294a16d808dc04c7542108d0409acd0a771bebaf05304
|
| 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_myscale-0.6.0-py3-none-any.whl
| Download URL | llama_index_readers_myscale-0.6.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
065a4209ce635ea434320253eebbf592bfd6a4e3cb30b38c58658a27b7dea2ff
|
|
BLAKE2b-256 checksum How to use checksums |
af98a2145fe80d5f1a7564fff4bc572d64310700bb32dbe3c06ef7e2dbbc5361
|
| 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-myscale 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.