Skip to content
This repository was archived by the owner on Sep 20, 2025. It is now read-only.

vykhovanets/RAG-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAG-playground

Iteration #1

The goal of the first iteration is to have local application which will make API calls to LLM providers

Currently supports Ollama's Mistral and OpenAI, uses Chroma as a vector storage. Implemented basic RAG capabilities.

Instructions

Setup

  1. clone repository
https://github.com/vykhovanets/RAG-playground.git && cd RAG-playground
  1. add .env file into RAG-playground folder with the following content:
# API keys OPENAI_API_KEY=... # COHERE_API_KEY=... # ANTHROPIC_API_KEY=... # HF_API_KEY=... # Persistence PROJECTS_DIR='./data/projects' HISTORIES_DIR='./data/histories' DB='./data/db' 
  1. install dependencies
python3.12 -m venv .envs/py-12 && source .envs/py-12/bin/activate pip install uv && uv pip install -r requirements.txt
  1. run app from the virtual environment
source .envs/py-12/bin/activate streamlit run playground/main.py

Documents

About

Local-first web app for experimentation with LLMs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages