To isntall the dependencies
pip install -r requirements.txt
Please add your OpenAI API key to .env
file (inside the app
directory) before running the codes
Please check the data folder to see the supported companies. If you want to download any other data, please change the data.yaml
file to download the 10-K or 10-Q
cd app
To build the vector store
python3 build_database.py
To run the streamlit application, run
streamlit run streamlit.py
Or you can directly build the docker file by
docker build -t sec-10k-qa .
And then run the docker container by
docker run -p 8501:8501 sec-10k-qa
Sample Answer Screenshot
Demo GIF