LlamaIndex Readers Integration: Metal
Overview
Metal Reader is designed to load data from the Metal Vector store, which provides search functionality based on query embeddings and filters. It retrieves documents from the Metal index associated with the provided API key, client ID, and index ID.
Installation
You can install Metal Reader via pip:
pip install llama-index-readers-metal
To use Metal Reader, you must have a vector store first. Follow this to create a metal vector store, Setup Metal Vector Store
Usage
from llama_index.readers.metal import MetalReader
# Initialize MetalReader
reader = MetalReader(
api_key="<Metal API Key>",
client_id="<Metal Client ID>",
index_id="<Metal Index ID>",
)
# Load data from Metal
documents = reader.load_data(
limit=10, # Number of results to return
query_embedding=[0.1, 0.2, 0.3], # Query embedding for search
filters={"field": "value"}, # Filters to apply to the search
separate_documents=True, # Whether to return separate documents
)
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-metal 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_metal-0.6.0.tar.gz | 4.3 kB | Without provenance | Details for llama_index_readers_metal-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_readers_metal-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_readers_metal-0.6.0-py3-none-any.whl |
Total release size: 8.2 kB
Release files / llama_index_readers_metal-0.6.0.tar.gz
| Download URL | llama_index_readers_metal-0.6.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
049ef41a384d8c6c46a76ef33f5fa0e5cc6964e0618d9322271dddf028fb49c5
|
|
BLAKE2b-256 checksum How to use checksums |
0b146a0faf84759e96b2903a81764aa02f751953a0d9b439c62737006deb3aeb
|
| 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_metal-0.6.0-py3-none-any.whl
| Download URL | llama_index_readers_metal-0.6.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d3a905ffdeebc2de83e97176dd5be17f59fc9530a933e89c98a4bbae61ec2f63
|
|
BLAKE2b-256 checksum How to use checksums |
db54f048926a1f88af66fd72e30c10c3ab8c512ba48f12b84e775b6dc586164b
|
| 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-metal 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.