This is a project that is currently being developed to build a RAG based system for the upcoming EIC. Refer to the Description about the project.
- Create a virtual environment:
export RAG4EIC_PROJECT=/path/to/your/project
python -m venv $RAG4EIC_PROJECT/env_RAG4EIC-V0
source $RAG4EIC_PROJECT/env_RAG4EIC-V0/bin/activate
- Install Poetry:
Poetry is a dependency management tool for Python. You can install it using the following command:
curl -sSL https://install.python-poetry.org | python3 -
- Install the project dependencies:
poetry install
- Clone from the repository:
git clone https://github.com/ai4eic/EIC-RAG-Project.git $RAG4EIC_PROJECT/EIC-RAG-Project
cd $RAG4EIC_PROJECT/EIC-RAG-Project
-
Running the webapp
- Ask
karthik18495@gmail.com
about thesecrets.toml
andconfig.toml
- Create a folder named
.streamlit
in the parent directory and move the filessecrets.toml
andconfig.toml
in there. - Now run
streamlit run streamlit_app/AI4EIC-RAGAS4EIC.py
. This should run on ahttp://localhost:8050
- Ask
- If any new library has been used in the app that requires installation through pip. Make sure to use the
--format freeze
when updating therequirements.txt
- The command is
pip list --format freeze > requirements.txt