Giter Site home page Giter Site logo

starcub / genai-quickstart-pocs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aws-samples/genai-quickstart-pocs

0.0 0.0 0.0 45.58 MB

This repository contains sample code demonstrating various use cases leveraging Amazon Bedrock and Generative AI. Each sample is a separate project with its own directory, and includes a basic Streamlit frontend to help users quickly set up a proof of concept.

License: MIT No Attribution

Python 100.00%

genai-quickstart-pocs's Introduction

GenAI Quick Start PoCs

This repository contains sample code demonstrating various use cases leveraging Amazon Bedrock and Generative AI. Each sample is a separate project with its own directory, and includes a basic Streamlit frontend to help users quickly set up a proof of concept.

Authors: Brian Maguire, Dom Bavaro, Ryan Doty, Sudeesh Sasidharan, Tarik Makota

Sample Proof of Concepts

  1. Amazon-Bedrock-Summarization-Long-Document-POC: This sample demonstrates using Amazon Bedrock and Generative AI to implement a long document summarization use case. Users can upload large PDF documents, which are chunked and summarized using Amazon Bedrock. Alt text
  2. Amazon-Bedrock-RAG-OpenSearchServerless-POC: This sample demonstrates creating custom embeddings stored in Amazon OpenSearch Serverless, and answering questions against the indexed embeddings using a Retrieval-Augmented Generation (RAG) architecture with Amazon Bedrock. Alt text
  3. Amazon-Bedrock-RAG-Kendra-POC: This sample implements a RAG-based architecture with Amazon Kendra, allowing users to ask questions against documents stored in an Amazon Kendra index using Amazon Bedrock. Alt text
  4. Amazon-Bedrock-Image-Generation-POC: This sample demonstrates using Amazon Bedrock and Generative AI to generate images based on text input requests. Alt text
  5. Amazon-Bedrock-GenAI-Dynamic-Prompting-Explained-POC: This sample provides a hands-on explanation of how dynamic prompting works in relation to Generative AI, using Amazon Bedrock. Alt text
  6. Amazon-Bedrock-Document-Generator: This sample demonstrates using Amazon Bedrock and Generative AI to perform document generation based on a document template and user-provided details. Alt text
  7. Amazon-Bedrock-Document-Comparison-POC: This sample allows users to upload two PDF documents and get a list of all changes between them using Amazon Bedrock and Generative AI. Alt text
  8. Amazon-Bedrock-Claude3-Multi-Modal-Sample: This sample showcases the multi-modal capabilities of Amazon Bedrock (specifically Anthropic Claude 3), allowing users to input text questions, images, or both to get comprehensive descriptions or answers. Alt text
  9. Amazon-Bedrock-Chat-POC: This sample provides a ChatGPT alternative using Amazon Bedrock and Generative AI, allowing users to ask zero-shot questions and receive responses. Alt text
  10. Amazon-Bedrock-Amazon-Redshift-POC: This sample demonstrates using Amazon Bedrock and Generative AI to ask natural language questions and transform them into SQL queries against Amazon Redshift databases. Alt text
  11. Amazon-Bedrock-Amazon-RDS-POC: This sample allows users to ask natural language questions and transform them into SQL queries against Amazon RDS databases using Amazon Bedrock and Generative AI. Alt text
  12. Amazon-Bedrock-Amazon-Athena-POC: This sample demonstrates using Amazon Bedrock and Generative AI to ask natural language questions and transform them into SQL queries against Amazon Athena databases. Alt text
  13. Amazon-Bedrock-Streaming-Response-POC: This sample illustrates the utilization of Amazon Bedrock and Generative AI to implement streaming responses. The application is designed with a straightforward Streamlit frontend, enabling users to input zero-shot requests directly against the Large Language Model (LLM) of their choice, utilizing a streaming response technique with majority of Amazon Bedrock models. Alt text
  14. Amazon-Bedrock-Claude3-Streaming-Response-POC: This sample illustrates the utilization of Amazon Bedrock and Generative AI to implement streaming responses. The application is designed with a straightforward Streamlit frontend, enabling users to input zero-shot requests directly against Claude 3, utilizing a streaming response technique while leveraging the Anthropic Messages API structure. Alt text
  15. Amazon-Bedrock-Knowledgebases-RAG-POC: This sample implements a RAG-based architecture with Amazon Bedrock Knowledge Bases, allowing users to ask questions against documents stored in an Amazon Bedrock Knowledge Base using Amazon Bedrock. Alt text

Prerequisites

  • Amazon Bedrock Access and CLI Credentials
  • Python 3.9 or 3.10 installed on your machine
  • Additional prerequisites specific to each sample (e.g., RDS Database, Amazon Kendra index, etc.)

Getting Started

  1. Clone the repository.
  2. Navigate to the desired sample directory.
  3. Set up a Python virtual environment and install the required dependencies.
  4. Configure the necessary environment variables (e.g., AWS credentials, database connections, etc.).
  5. Run the Streamlit application using the provided command.

Detailed instructions for each sample are provided in their respective directories.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

genai-quickstart-pocs's People

Contributors

ryanadoty avatar vishal49naik49 avatar aruanurag avatar 3sudeesh10 avatar amazon-auto avatar dependabot[bot] avatar dbavro19 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.