المشاريع
عرض على GitHub
streamlit/llm-examples
حول
أمثلة لتطبيقات Streamlit تستخدم نماذج اللغة الكبيرة، لمساعدتك على البدء.
الذكاء الاصطناعي وتعلّم الآلةالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- +٢
- خلال 15 يومًا
- +٣
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصل🎈 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
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…