Skip to content

Small RAG system with txt and pdf files via Gigachat model

Notifications You must be signed in to change notification settings

pdumin/gigachat_rag_boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Small Streamlit RAG-application

Installation and running

  1. Create virtual enviroment

    python -m venv .venv
    source .venv/bin/activate
    
  2. Install dependencies: pip install -r requirements.txt

  3. Create .streamlit/secrets.toml with GIGA_KEY='you_gigachat_key' (get key here)

  4. Run app: streamlit run app.py

You can upload *.txt or *.pdf files.

TO DO

  • source file uploading
  • setting chunksize and overlap size from web-interface