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.1.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.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_readers_couchdb-0.4.1.tar.gz
Algorithm Hash digest
SHA256 75b339bff793fbc7db103e5b26ae0fc5bbce32374ca0ca9423aa9b434e6dcaee
MD5 ff0efb153524a04c1fa3c429121f9255
BLAKE2b-256 b3071d741b648ac227f9e7d5688417fef15cb7739394ab35ba3e7c15bf76aa3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_couchdb-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5d4ce31ffb50d1d60017ee20bde5486c7802d23a5b01b79cb2261e28d21baae
MD5 ae1d3b438bf49ab91c4179d63e363059
BLAKE2b-256 3ece452a9f4e4b8bbd3a7e6859116d22c65312ce116022af92787aff23c88ae3

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