Skip to main content

llama-index readers arango db integration

Project description

LlamaIndex Readers Integration: ArangoDB

pip install llama-index-readers-arango-db

This loader loads documents from ArangoDB. The user specifies an ArangoDB instance to initialize the reader. They then specify the collection name and query parameters to fetch the relevant docs.

Usage

Here's an example usage of the SimpleArangoDBReader.

import os

from llama_index.readers.arango_db import SimpleArangoDBReader

host = "<host>"
db_name = "<db_name>"
collection_name = "<collection_name>"
# query_dict is passed into db.collection.find()
query_dict = {}
# Attribute of interests to load, by default ["text"]
field_names = ["title", "description"]
reader = SimpleArangoDBReader(host)  # or pass ArangoClient
documents = reader.load_data(
    username,
    password,
    db_name,
    collection_name,
    query_dict=query_dict,
    field_names=field_names,
)

A demo notebook is available here.

This loader is designed to be used as a way to load data into LlamaIndex.

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_arango_db-0.5.0.tar.gz (4.7 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_arango_db-0.5.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_readers_arango_db-0.5.0.tar.gz
  • Upload date:
  • Size: 4.7 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_arango_db-0.5.0.tar.gz
Algorithm Hash digest
SHA256 457e4e7932107e869d4c0bc613cbc845ac53c0265c4ce1291f6a3f8319ff766c
MD5 2526cf920ecb405073782a8a1f2cf3ff
BLAKE2b-256 b19d9838fb0f6c22ab2bea85fe2e61269ec9b6945b2a478dbd7293fdbe2f74f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_readers_arango_db-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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_arango_db-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6dc6b5a27f96d747d6fd5694ef4aeeb984deb320a7ba10d21a4a8da1a961858
MD5 710f16fe8d7ad66eef45cf75092c230a
BLAKE2b-256 72c999789baa03a93f820bfd75d61bfeaaebd0c3a2e26924f990622c571c31a3

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