Starter examples for building LLM apps with Streamlit.
This app showcases a growing collection of LLM minimum working examples.
Current examples include:
- Chatbot
- File Q&A
- Chat with Internet search
- LangChain Quickstart
- LangChain PromptTemplate
- Chat with user feedback
You can get your own Google API key by following the instructions:
- Go to https://makersuite.google.com/app/apikey.
- Click on the
Create API keybutton.
To set the Google API key as an environment variable in Streamlit apps, do the following:
- At the lower right corner, click on
< Manage appthen click on the vertical "..." followed by clicking onSettings. - This brings the App settings, next click on the
Secretstab and paste the API key into the text box as follows:
GOOGLE_API_KEY='xxxxxxxxxx'virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
streamlit run Chatbot.py