Skip to content

gfoo/impulse_rag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

impulse_rag

Requires access to OpenAI API using an access token (https://platform.openai.com/)

  1. clone project
git clone https://github.com/gfoo/impulse_rag.git
cd impulse_rag
  1. init project
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
echo 'OPENAI_API_KEY="xxxxxx"' > .env
  1. download data
cd pdfs
./download_dir_UNIL.sh
cd ..
  1. index pdfs
python indexing.py  ./pdfs ./chroma_storage
  1. retrieve context from index
python retrieval.py ./chroma_storage/
  1. answer question using context and llm
python generation.py ./chroma_storage/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors