Skip to main content

llama-index readers couchdb integration

Project description

CouchDB Loader

pip install llama-index-readers-couchdb

This loader loads documents from CouchDB. The loader currently supports CouchDB 3.x using the CouchDB3 python wrapper from https://github.com/n-vlahovic/couchdb3 The user specifies a CouchDB instance to initialize the reader. They then specify the database name and query params to fetch the relevant docs.

Usage

Here's an example usage of the SimpleCouchDBReader.

import os

from llama_index.readers.couchdb import SimpleCouchDBReader

host = "<host>"
port = "<port>"
db_name = "<db_name>"
# query is passed into db.find()
query_str = "{ couchdb_find_sytax_json }"
reader = SimpleCouchDBReader(host, port)
documents = reader.load_data(db_name, query=query_str)

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_couchdb-0.2.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file llama_index_readers_couchdb-0.2.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_couchdb-0.2.0.tar.gz
Algorithm Hash digest
SHA256 83fcf9f4e729f3d7f21afd77383021c5698fc3b0b469976e98e0b65bc071ff42
MD5 87dbee9fe4dc69b65503661efcffd7ae
BLAKE2b-256 1e898df4a7dd29c1fb4d5470ca551590c187f3273070ae3b9cee0e6c19248f08

See more details on using hashes here.

File details

Details for the file llama_index_readers_couchdb-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_readers_couchdb-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e05bb24b708de03233fc93711e725fffef9a8d49f60f6304a2783eb3f2bfd98
MD5 553c7929240cff57552a65286ef44223
BLAKE2b-256 1eb8bd31248ba2e268ae1d9eaeb7f1188b5fd004193402817105d0016ff27fcf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page