To run this app you need to have:
- an OpenAI API key
- an Exa API key (there is a free tier available)
- a Google API key with authorization for
Custom Search API
and a Google custom search engine. Read more. - (optional) a Phospho API key and project id
Set up a virtual environment and install the requirements:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Setup the streamlit secrets int the .streamlit/secrets.toml
file:
EXA_API_KEY=""
OPENAI_API_KEY=""
GOOGLE_API_KEY=""
GOOGLE_CSE_ID=""
(Optional) Add your phospho api key and project id to get text analytics:
PHOSPHO_API_KEY=""
PHOSPHO_PROJECT_ID=""
streamlit run main.py
This will open a new tab in your default browser with the app running.