Giter Club home page Giter Club logo

yatin-bot's Introduction

Yatin's Bot - Text to Speech Response

Overview

This Project is an Generative AI Chat bot that answer to your requests in both text & Speech. Built on Serverless architecture, using Aws Lambda, This application uses the power of Amazon polly to Synthesis Speech from text.

AWS Architecture Diagram

gpt-aws- (1)

You can find the architecture diagram for this project in the architecture directory.

Usage

  1. Frontend Interaction:

    • User interacts with the frontend interface, such as a chat window or input field.
    • Frontend sends HTTP requests to the OpenAI API endpoint, including the user's message.
    • OpenAI API processes the request and generates a response based on the input message & sends back the response to the frontend.
    • Frontend sends HTTP requests to the AWS API endpoint, including the response received from OpenAI.
  2. Communication with AWS Backend (Serverless Architecture):

    • API receives the response from the frontend and processes it.
    • API sends request to AWS lambda to generate an audio file from the text response using Amazon Polly.
    • Upon successful generation of the audio file, a response including the URL of the audio file stored in S3 Bucket to the frontend.
  3. Audio Playback in Frontend:

    • Frontend receives the URL of the audio file as Response, plays the audio file directly from the provided URL.

      image

Listen yourself

b0fafea0-d6e8-11ee-a06c-7330774cd916.mp4

Tech Stack

Cloud

  • AWS Lambda
  • Amazon Polly
  • Amazon S3

Core

  • Node js
  • Python
  • Streamlit(For frontend)

yatin-bot's People

Contributors

yatingarg07 avatar

Stargazers

 avatar

Watchers

Kostas Georgiou avatar  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.