carolinefrasca/llamaindex-chat-with-streamlit-docs
概要
Build a chatbot powered by LlamaIndex that augments GPT 3.5 with the contents of the Streamlit docs (or your own data).
AI・機械学習計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル🦙📚 LlamaIndex - Chat with the Streamlit docs
Build a chatbot powered by LlamaIndex that augments GPT 3.5 with the contents of the Streamlit docs (or your own data).
Overview of the App

- Takes user queries via Streamlit's
st.chat_inputand displays both user queries and model responses withst.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
Get an OpenAI API key
You can get your own OpenAI API key by following the following instructions:
- Go to https://platform.openai.com/account/api-keys.
- Click on the
+ Create new secret keybutton. - Next, enter an identifier name (optional) and click on the
Create secret keybutton. - Add your API key to your
secrets.tomlfile. If you don't already have asecrets.tomlfile, add a folder named.streamlit, create a file calledsecrets.tomlwithin the folder, and add the following to it:
openai_key = <your key here>
Alternatively, you can use Streamlit Community Cloud's secrets management feature to add your API key via the web interface.
[!CAUTION] Don't commit your secrets file to your GitHub repository. The
.gitignorefile in this repo includes.streamlit/secrets.tomlandsecrets.toml.
Try out the app
Once the app is loaded, enter your question about the Streamlit library and wait for a response.
関連プロジェクトを探す
読み込み中…