Skip to content
/ MEH Public

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

Notifications You must be signed in to change notification settings

JGalego/MEH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published