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 programmatically to Claude, VSCode, and more via MCP for real-time answers.