Skip to content

prabhat310-bit/AI-voice-translator-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Voice Translator Agent

This is an AI Agent translater that can translate both text and voice input into different languages of user's choice. It uses a LangChain agent and Groq Llama-3 model.

Features

  • Text-to-text translation
  • Voice-to-text translation
  • Language detection
  • Dynamic target language selection
  • AI agent using LangChain
  • Llama 3 llm used via Groq Api

Tech Stack

  • Python development
  • LangChain
  • Groq LLM (Llama 3)
  • Faster Whisper
  • SoundDevice
  • Agent architecture
  • Prompt engineering
  • LLM API integration

Project Architecture

User Input (Text/Voice) ↓ Speech-to-Text/Text-to-Text ↓ LangChain Agent ↓ Tools (Language Detection + Translation) ↓ LLM Processing ↓ Translated Output

Installation

  1. Clone the repository
  2. Install dependencies
  3. Add your API key in .env
  4. Run the program

Example

Welcome to the AI Voice Translator Agent Choose input type (text/voice): text Enter your text: Hello how are you? Enter target language: Hindi

Final Output: The language of the given text is English, and the translation of the text "Hello how are you?" into Hindi is "नमस्ते आप कैसे हैं?"

About

This is an AI translation agent that can translate both text and voice input into different languages of user's choice using a LangChain agent and Groq Llama-3 model.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages