{"id":14959494,"url":"https://github.com/streamlit/llm-examples","last_synced_at":"2025-04-11T00:52:08.435Z","repository":{"id":169160336,"uuid":"645064953","full_name":"streamlit/llm-examples","owner":"streamlit","description":"Streamlit LLM app examples for getting started","archived":false,"fork":false,"pushed_at":"2025-01-30T22:00:31.000Z","size":1621,"stargazers_count":769,"open_issues_count":26,"forks_count":1604,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-11T00:52:03.897Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://streamlit.io/generative-ai","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/streamlit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-24T21:05:08.000Z","updated_at":"2025-04-10T18:22:39.000Z","dependencies_parsed_at":"2023-07-10T05:15:29.208Z","dependency_job_id":"6108f61b-f6e0-439e-afcf-cf2d0a793a93","html_url":"https://github.com/streamlit/llm-examples","commit_stats":{"total_commits":97,"total_committers":9,"mean_commits":"10.777777777777779","dds":0.6288659793814433,"last_synced_commit":"1afdc02cac85be8ff3d0c7cbee1a21be1e856efa"},"previous_names":["streamlit/llm-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fllm-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fllm-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fllm-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fllm-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamlit","download_url":"https://codeload.github.com/streamlit/llm-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322609,"owners_count":21084336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T13:19:50.140Z","updated_at":"2025-04-11T00:52:08.410Z","avatar_url":"https://github.com/streamlit.png","language":"Python","funding_links":[],"categories":["Building AI","Python"],"sub_categories":[],"readme":"# 🎈 Streamlit + LLM Examples App\n\n[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/streamlit/llm-examples?quickstart=1)\n\nStarter examples for building LLM apps with Streamlit.\n\n## Overview of the App\n\nThis app showcases a growing collection of LLM minimum working examples.\n\nCurrent examples include:\n\n- Chatbot\n- File Q\u0026A\n- Chat with Internet search\n- LangChain Quickstart\n- LangChain PromptTemplate\n- Chat with user feedback\n\n## Demo App\n\n[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://llm-examples.streamlit.app/)\n\n### Get an OpenAI API key\n\nYou can get your own OpenAI API key by following the following instructions:\n\n1. Go to https://platform.openai.com/account/api-keys.\n2. Click on the `+ Create new secret key` button.\n3. Next, enter an identifier name (optional) and click on the `Create secret key` button.\n\n### Enter the OpenAI API key in Streamlit Community Cloud\n\nTo set the OpenAI API key as an environment variable in Streamlit apps, do the following:\n\n1. At the lower right corner, click on `\u003c Manage app` then click on the vertical \"...\" followed by clicking on `Settings`.\n2. This brings the **App settings**, next click on the `Secrets` tab and paste the API key into the text box as follows:\n\n```sh\nOPENAI_API_KEY='xxxxxxxxxx'\n```\n\n## Run it locally\n\n```sh\nvirtualenv .venv\nsource .venv/bin/activate\npip install -r requirements.txt\nstreamlit run Chatbot.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlit%2Fllm-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamlit%2Fllm-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlit%2Fllm-examples/lists"}