plug-circle-plusIntegrations

circle-info

We are adding more integrations regularly. If you are looking for a specific integration, you can request one via our Github issuesarrow-up-right.

In this section, we’ll guide you through integrating ColiVara with LLM frameworks. This integration will allow you to seamlessly connect to other moving parts in your RAG project.

Currently, we are supporting integrating with


Overview


1. Install Dependencies

chevron-rightLlamaIndexhashtag
chevron-rightLangchainhashtag
chevron-rightOpenRouterhashtag

2. Set up ColiVara RAG client and Process your documents

1

Initialize your Colivara RAG client

2

(Optional) Download your documents

You can skip this step if your documents are already downloaded into a folder. Here we are downloading documents using their URLs, and save them in the docs/folder

3

Upload and Process the documents


3. Create the Context

circle-info

For simplicity, we are skipping Query transformation step. In RAG, query transformation converts user queries into the format the model needs. Instead, we are using the query directly.


4. Create a Client with your integrated LLM Framework

chevron-rightLlamaindexhashtag
chevron-rightLangchainhashtag
chevron-rightOpenRouterhashtag

No need to create a Client as we will be calling OpenRouter via an HTTP request


5. Run your RAG query and Generate the answer

chevron-rightLlamaIndexhashtag
chevron-rightLangchainhashtag
chevron-rightOpenRouterhashtag

Last updated