Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/srisrijakka1/bedrock-model-chatgpt

Deploying a Single Page Application with AI Integration for General Queries using Bedrock
https://github.com/srisrijakka1/bedrock-model-chatgpt

ai ai-ml-chatbot amazon-bedrock amazon-cloudfront amazon-s3 api-gateway api-gateway-http aws bedrock chatbot chatgpt genai generative-ai generative-ai-projects github github-pages html js lambda lambda-functions

Last synced: 3 days ago
JSON representation

Deploying a Single Page Application with AI Integration for General Queries using Bedrock

Awesome Lists containing this project

README

        

# BedRock-Model-ChatGpt
Deploying a Single Page Application with AI Integration for General Queries using Bedrock

### Requirements for this project:

Need a AWS Account or AWS login credentials.

### Description:

This repository contains the reference related to how to create own GenAi Model based Single Page WebApplication in Real time.

#### BedRock-Model-ChatGpt Overview:
> To create a single Page Application:

>
> Languages Used: HTML, JavaSript(JS)
> Platform Used: VS Code Editor

> To Deploy & Test Application Environment:
>
> Test Environment Used: GitHub
> Deploy Environment Used: Amazon S3, Amazon CloudFront.

> Foundational ML Model Details:
>
> Model: Amazon Titan-Text Premier G1
> Model Access Provider: Amazon Bedrock service

> Compute Service:
>
> Model input Prompting & getting Response :Amazon Lambda Service

> Interactions management
>
> API Service used for Interactions management between WebApplication & Lambda functions : Amazon API Gateway.

> All AWS Services Used For this Project:
>
> Amazon S3
> Amazon CloudFront
> Amazon Bedrock
> Amazon Lambda
> Amazon APIGateway

> All Software Code URLS:
>
> ![WebApplication HTML Source](https://github.com/Srisrijakka1/BedRock-Model-ChatGpt/blob/main/index.html)

![WebApplication JavaSript(JS) Source](https://github.com/Srisrijakka1/BedRock-Model-ChatGpt/blob/main/script.js)

![WebApplication Backend Lambda function Source](https://github.com/Srisrijakka1/BedRock-Model-ChatGpt/blob/main/lambda_function.py)

![Project Overall Softwares Zip Source](https://github.com/Srisrijakka1/BedRock-Model-ChatGpt/blob/main/Bedrock-Model-chatgpt.zip)

### Important Note:
While using this Repository as reference to implement this project please update your Api Gateway Endpoint in HTML code.

### Architecture:
![Bedrock-Model-ChatGpt](https://github.com/user-attachments/assets/be71ebab-8a9c-4c5e-8828-06c0929de503)

### Result:

https://github.com/user-attachments/assets/d3b3c252-8e35-4509-9ad1-96b89c5bbccd