langchain/docs/ecosystem/databerry.md
Harrison Chase ad3c5dd186
Harrison/databerry (#2688)
Co-authored-by: Georges Petrov <georgesm.petrov@gmail.com>
2023-04-10 18:49:47 -07:00

761 B

Databerry

This page covers how to use the Databerry within LangChain.

What is Databerry?

Databerry is an open source document retrievial platform that helps to connect your personal data with Large Language Models.

Databerry

Quick start

Retrieving documents stored in Databerry from LangChain is very easy!

from langchain.retrievers import DataberryRetriever

retriever = DataberryRetriever(
    datastore_url="https://api.databerry.ai/query/clg1xg2h80000l708dymr0fxc",
    # api_key="DATABERRY_API_KEY", # optional if datastore is public
    # top_k=10 # optional
)

docs = retriever.get_relevant_documents("What's Databerry?")