Skip to main content

llama-index readers metal integration

Project description

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.

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

llama_index_readers_metal-0.5.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

llama_index_readers_metal-0.5.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_metal-0.5.0.tar.gz.

File metadata

  • Download URL: llama_index_readers_metal-0.5.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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}

File hashes

Hashes for llama_index_readers_metal-0.5.0.tar.gz
Algorithm Hash digest
SHA256 537570e0d462f25751913baeea10ef42b7cfa1c9514d07203cd603b270098e4e
MD5 2a07c0bc7ceec48d314afe3d55054ca1
BLAKE2b-256 da6def3b3b2b6f6ce801f15eee9c138c4f242edbfbed89cc9ce6376938f6b671

See more details on using hashes here.

File details

Details for the file llama_index_readers_metal-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_readers_metal-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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}

File hashes

Hashes for llama_index_readers_metal-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83612dd5b880d2a7e9d6b92cfc081b38139fd881e1e4c8adb0b937b51db70d60
MD5 c1417f9c6c6be023b5b20068433ce410
BLAKE2b-256 c301f3273f6e6f48533523829cff665de558b6a88200443d437a3409e7c2808f

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