Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sadmanca/gcac-chatbot
https://github.com/sadmanca/gcac-chatbot
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sadmanca/gcac-chatbot
- Owner: sadmanca
- Created: 2023-08-31T03:08:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-29T05:53:49.000Z (about 1 year ago)
- Last Synced: 2023-11-29T06:33:49.229Z (about 1 year ago)
- Language: Python
- Size: 506 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🦙📚 LlamaIndex - Chat with the Streamlit docs
Build a chatbot powered by LlamaIndex that augments GPT 3.5 with the content of the Streamlit docs (or your own data).
## Overview of the App
- Takes user queries via Streamlit's `st.chat_input` and displays both user queries and model responses with `st.chat_message`
- Uses LlamaIndex to load and index data and create a chat engine that will retrieve context from that data to respond to each user query## Demo App
[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://lllamaindex-chat-with-docs.streamlit.app/)
## Get an OpenAI API key
You can get your own OpenAI API key by following the following instructions:
1. Go to https://platform.openai.com/account/api-keys.
2. Click on the `+ Create new secret key` button.
3. Next, enter an identifier name (optional) and click on the `Create secret key` button.## Try out the app
Once the app is loaded, enter your question about the Streamlit library and wait for a response.