Ask a question to get started
Enter to sendā¢Shift+Enter new line
Wrapper around Dria API.
This wrapper facilitates interactions with Dria's vector search and retrieval services, including creating knowledge bases, inserting data, and fetching search results.
DriaAPIWrapper( self, api_key: str, contract_id: Optional[str] = None, top_n: int = 10 )
Create a new knowledge base.
Insert data into the knowledge base.
Perform a text-based search.
Perform a vector-based query.
Method to handle both text-based searches and vector-based queries.