Skip to content

inovex/data2day-RAG-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

data2day-RAG-Demo

This repository contains the code and data behind the RAG and Observability demo by inovex at data2day 2024.

Get started

Install poetry

python3 -m venv name_of_virtualenv
source name_of_virtualenv/bin/activate
pip install poetry

Install requirements

Install the dependencies for this project with poetry

poetry install

Set environment variables

Store the necessary information about your Azure OpenAI model deployments in the .env file.

Launch the app

To start the chat app execute

chainlit run app.py

This will start the chainlit server with the chat interface at http://localhost:8000 as well as the Phoenix server for tracking and evaluating the chat interactions at http://localhost:6006/. If you need more information on how Phoenix traces the conversation and generates evaluations you can find the documentation right here.

Disclaimer

The code is currently based on using the Azure OpenAI Service through LangChain. However, it is easily adaptable to work with other model providers by simply exchanging the model constructors in the files app.py and vectorstore.py with those appropriate for your models of choice. For more information check out this site in the LangChain documentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages