{"id":18602077,"url":"https://github.com/build-on-aws/amazon-bedrock-quick-start","last_synced_at":"2025-04-10T19:30:55.004Z","repository":{"id":197061989,"uuid":"697872067","full_name":"build-on-aws/amazon-bedrock-quick-start","owner":"build-on-aws","description":"Learn how to Quickly build Generative AI applications with Amazon Bedrock","archived":false,"fork":false,"pushed_at":"2024-04-04T15:13:08.000Z","size":1486,"stargazers_count":83,"open_issues_count":2,"forks_count":39,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-25T03:02:03.241Z","etag":null,"topics":["amazon-bedrock","aws","generative-ai","python","streamlit"],"latest_commit_sha":null,"homepage":"https://community.aws/posts/amazon-bedrock-quick-start","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/build-on-aws.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-09-28T16:36:54.000Z","updated_at":"2025-03-24T13:13:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"cee4ff81-f11b-4e05-93bc-b35d93bde5bd","html_url":"https://github.com/build-on-aws/amazon-bedrock-quick-start","commit_stats":null,"previous_names":["build-on-aws/amazon-bedrock-quick-start"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/build-on-aws%2Famazon-bedrock-quick-start","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/build-on-aws%2Famazon-bedrock-quick-start/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/build-on-aws%2Famazon-bedrock-quick-start/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/build-on-aws%2Famazon-bedrock-quick-start/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/build-on-aws","download_url":"https://codeload.github.com/build-on-aws/amazon-bedrock-quick-start/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248281395,"owners_count":21077423,"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":["amazon-bedrock","aws","generative-ai","python","streamlit"],"created_at":"2024-11-07T02:10:15.612Z","updated_at":"2025-04-10T19:30:54.594Z","avatar_url":"https://github.com/build-on-aws.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quickly build Generative AI applications with Amazon Bedrock\n\nThis repository contains code samples for building diverse AI applications using Amazon Bedrock's foundation models. Learn how to accelerate projects in image and text generation and beyond.\n\n## Getting Started\n\nTo get a local copy up and running, follow these simple steps.\n\n### Prerequisites\n* Python 3.9 or higher\n* pip\n* [Model Access in Amazon Bedrock](https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/modelaccess)\n\n### Installation\n\nClone the repo\n\n```bash\ngit clone https://github.com/build-on-aws/amazon-bedrock-quick-start.git\n```\n\nInstall required packages\n\n```bash\npip install -r requirements.txt\n```\n\n## Usage\n\nThis repository contains various code samples demonstrating how to build AI applications using Amazon Bedrock's foundation models. Here's how to use each:\n\n### Image Generation\n\nTo generate images using Stable Diffusion, run the following command:\n\n```bash\nstreamlit run sd_sample_st.py\n```\n\nThis will launch a Streamlit app where you can enter text prompts to generate corresponding images.\n\n### Text Examples\n\nRun this Python script to see different text-based applications like text summarization, code generation, and Q\u0026A:\n\n```bash\npython text_examples.py\n```\n\nThis script will output results for each of these applications, showcasing the versatility of foundation models in text-based tasks.\n\n### Chatbot\n\nTo interact with a chatbot built using Amazon Bedrock, LangChain, and Streamlit, run:\n\n```bash\nstreamlit run chat_bedrock_st.py\n```\n\nThis launches a Streamlit app where you can have a conversation with the chatbot, witnessing AI-powered conversational capabilities firsthand.\n\n### RAG Example\n\nTo see how Retrieval Augmented Generation (RAG) works with LangChain, execute:\n\n```bash\npython rag_example.py\n```\n\nThis will demonstrate how RAG augments foundation models by retrieving and incorporating external data into the generated content.\n\n## Security\n\nSee [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.\n\n## License\n\nThis library is licensed under the MIT-0 License. See the LICENSE file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuild-on-aws%2Famazon-bedrock-quick-start","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuild-on-aws%2Famazon-bedrock-quick-start","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuild-on-aws%2Famazon-bedrock-quick-start/lists"}