Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

biruk2080/ChatBot

Domaine:

natural language processing

Type de record:

software
Créateur:
bir
Hôte:
It is a multilingual AI chatbot that answers US immigration questions in the user's input language. It detects whether the user writes in English, Amharic, or another language and responds accordingly. # Multi-language US Immigration Assistant — Documentation ## Overview The **Amharic US Immigration Assistant** is a multilingual AI chatbot that answers US immigration questions in the user's input language. It detects whether the user writes in English, Amharic, or another language and responds accordingly. The assistant is scoped strictly to US immigration topics — questions outside that domain receive a polite redirect.It is built on Google's Gemini 2.5 Flash model, orchestrated through LangChain, and exposed via a Gradio chat interface with persistent in-session memory. --- ## Features - Multilingual responses — automatically replies in the language the user writes in (e.g., Amharic, English) - Scoped to US immigration topics only — out-of-scope questions are gracefully declined - Persistent in-session conversation memory via `InMemoryChatMessageHistory` - Clean chat UI built with Gradio `Blocks` - Configurable per-session history keyed by `session_id` --- ## Tech Stack | Layer | Technology | Purpose | |---|---|---| | **LLM** | Google Gemini 2.5 Flash (`langchain_google_genai`) | Multilingual natural language generation | | **Prompt orchestration** | LangChain `ChatPromptTemplate` | Structures system instructions and conversation history | | **Memory** | LangChain `InMemoryChatMessageHistory` + `RunnableWithMessageHistory` | Persists conversation turns within a session | | **Output parsing** | LangChain `StrOutputParser` | Extracts plain text from LLM responses | | **UI Framework** | Gradio `gr.Blocks` | Chat interface with message input and history display | | **Configuration** | `python-dotenv` | Loads `GOOGLE_API_KEY` from a `.env` file at runtime | | **Language** | Python 3.9+ | Application runtime | --- ## Architectural View The system is organised into three layers: a **UI layer** (Gradio), a **chain layer** (LangChain pipeline with memory), and an **AI layer** (Google Gemini via LangChain). ``` ┌──────────────────────────────────────────────── …

Visit

github.com

Languages

Amharic

Similaires

zonecrest/chatbotMosbehBarhoumiRAI/ChatbotSaidaBenaissa/multilingual-chatbotmalengatiger/sgela-chatbotbkjml/Amharic-Chatbotdhouhaichaouii/chatbot-Tunisie

zonecrest/chatbot

Ghana tax chatbot # Ask GRA - Taxpayer Chatbot Prototype An AI-powered chatbot that helps Ghanaian

MosbehBarhoumiRAI/Chatbot

This Chatbot support English, French, Arabic and soon tunisian dialect. # Chatbot This Chatbot supp

SaidaBenaissa/multilingual-chatbot

Multilingual AI customer-support chatbot (French, English, Arabic, Moroccan Darija) — NLP pipeline,

malengatiger/sgela-chatbot

AI chatbot for South African teachers and students. Based on Gemini AI API on Flutter iOS/Android/We

bkjml/Amharic-Chatbot

Chatbot from scratch in amharic

dhouhaichaouii/chatbot-Tunisie

Tunisian Voice Chatbot — AI voice assistant that understands spoken Tunisian Arabic and responds nat