프로젝트
GitHub에서 보기
streamlit/llm-examples
소개
시작하기 위한 Streamlit LLM 앱 예제
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- +3
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original🎈 Streamlit + LLM Examples App
Starter examples for building LLM apps with Streamlit.
Overview of the App
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
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.
Enter the OpenAI API key in Streamlit Community Cloud
To set the OpenAI 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:
OPENAI_API_KEY='xxxxxxxxxx'
Run it locally
virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
streamlit run Chatbot.py
관련 프로젝트 살펴보기
불러오는 중…