chat_to_code_penal
Setup
- Install the requirements
pip install -r requirements.txt
- Create a .env file with your OpenAI API key
echo "OPENAI_API_KEY=your-api-key" >> .env
Basic RAG application based on langchain, and the french "Code pénal".
Jupyter Notebook
pip install -r requirements.txt
echo "OPENAI_API_KEY=your-api-key" >> .env