Dria is a hub of public RAG models for developers to both contribute and utilize a shared embedding lake. This notebook demonstrates how to use the Dria API for data retrieval tasks.
Installation
Ensure you have thedria package installed. You can install it using pip:
Configure API Key
Set up your Dria API key for access.Initialize dria retriever
Create an instance ofDriaRetriever.
Create knowledge base
Create a knowledge on Dria’s Knowledge HubAdd data
Load data into your Dria knowledge base.Retrieve data
Use the retriever to find relevant documents given a query.Connect these docs to Claude, VSCode, and more via MCP for real-time answers.