Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

llama-index-readers-couchdb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

llama-index-readers-couchdb

llama-index readers couchdb integration

  • 0.3.0
  • PyPI
  • Socket score

Maintainers
1

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc