Usage:
- git pull
- add .env with your credentials
- uv sync
- streamlit run main.py
To Do:
- This homework should be in a separate public github repo. +
- The repo should contain .gitignore and readme. +
- UV config should be present in the repository, but not .venv +
- Please build the same streamlit chatbot as in demo (streamlit-chatbot).
- Ensure that your Github token is not exposed. (.env should be pushed). .. "Typo, .env should not be pushed" +
Please try making the following changes (you can use chatgpt for that): 1. Update the chatbot, that it always answer in Lithuanian. (use instruction/prompt engineering) + 2. (optional) Update the streamlit chatbot so that it allows you to upload a file. + Added support for txt, doc, pdf, added some validations.
Advanced, optional: Integrate RAG, langchain with this streamlit chatbot.
Still to do: Optional: limits of file to no more than 8000 tokens using tik tokens (gitlabs limit.)