JGalego / MEH

A simple conversational app powered by LangChain and Streamlit, feat. Amazon Translate, Amazon Bedrock and Amazon Polly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MEH! πŸ˜’πŸ‘ My Expert Helper

Overview

A simple conversational app powered by LangChain and Streamlit that

  1. Takes in a user prompt
  2. Translates it to a target language using Amazon Translate
  3. Sends it to Anthropic's Claude on Amazon Bedrock
  4. Translates the response back to the source language
  5. Turns the response into speech via Amazon Polly

If this is not enough, here's a sequence diagram telling you the exact same thing:

Why? Because... meeeeeeeeeeh! πŸ‘

Fun fact: An earlier version was known as YEAH! (Your Excellent Artificial Helper)

Instructions

Build

docker build --rm -t meh .

Deploy

This app uses Boto3, the AWS SDK for Python, to call AWS services. You must configure both AWS credentials and an AWS Region in order to make requests. For information on how to do this, see AWS Boto3 documentation (Developer Guide > Credentials).

Linux

docker run --rm --device /dev/snd -p 8501:8501 meh

Windows (WSL2)

wsl docker run --rm -e PULSE_SERVER=/mnt/wslg/PulseServer -v /mnt/wslg/:/mnt/wslg/ -p 8501:8501 meh

About

A simple conversational app powered by LangChain and Streamlit, feat. Amazon Translate, Amazon Bedrock and Amazon Polly


Languages

Language:Python 83.3%Language:Dockerfile 9.7%Language:Mermaid 7.0%