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.4.0.tar.gz (4.2 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_couchdb-0.4.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_readers_couchdb-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d9e13501fc7d5166dbdc00e2260c81d7d33fed8d7a069f1ba039077dca4432c1
MD5 495abcfa532e7c5b389d81d7f5867b83
BLAKE2b-256 09a551953edc6bcd1548bb063b403865b9dbcb36f7c04d7e1fbf2200f2763fd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_couchdb-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87bba5bd9ebb8ec0ca1504d32955ffa60f8f29e7bafa98a61f3f324a07ee2705
MD5 f6ad757afe1174945600218a04965cd1
BLAKE2b-256 a41b19ecd8778e0cf6f3f301768af340c47ac2e9598dc12fc059b6fcb1b87b63

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