Back to Llama Index

Macrometa GDN Loader

llama-index-integrations/readers/llama-index-readers-macrometa-gdn/README.md

0.14.21595 B
Original Source

Macrometa GDN Loader

bash
pip install llama-index-readers-macrometa-gdn

This loader takes in a Macrometa federation URL, API key, and collection name and returns a list of vectors.

Usage

To use this loader, you need to pass the URL and API key through the class constructor, and then load the data using an array of collection names.

python
from llama_index.readers.macrometa_gdn import MacrometaGDNReader

collections = ["test_collection"]
loader = MacrometaGDNReader(url="https://api-macrometa.io", apikey="test")
vectors = loader.load_data(collection_list=collections)