This repository contains code and resources for the Cogito x Antire RAG workshop held in Trondheim. The goal of the workshop is to demonstrate how to build and run a RAG pipeline using Colivara and OpenRouter.
- Git: Ensure that git is installed on your machine. Download Git
- Python 3.12: Required for the project. Download Python
- UV: Used for managing Python environments. Install UV
-
Clone the repository:
git clone https://github.com/pegesund/trondheim_session.git cd trondheim_session -
Configure environment variables:
This project uses environment variables for configuration. Copy the example environment file to create your own:
cp .env.example .env
- Edit the
.envfile to add your Colivara and OpenRouter API keys - To find your Colivara API key, Visit Colivara
- To find your OpenRouter API key, Visit OpenRouter
- Edit the
-
Install UV:
pip install uv
To run the RAG script, use the following command:
uv run colivara_rag.py