Skip to content
AZ

chatbotPythonDONE

Memory-Aware AI Chatbot

Multi-turn conversational memory — it remembers what you said earlier in the session instead of treating every message as the first one.

A Chainlit chat interface over the Gemini API, holding conversational state across a session. Ask a follow-up that only makes sense in light of three messages ago and it answers correctly.

Multilingual, including Roman Urdu — which matters more than it sounds, because the transliteration is inconsistent by nature and the model has to hold intent across it.

It handles open Q&A, generates poetry, and continues a thread rather than restarting it.

This project is where the thesis on the rest of this site comes from: the interesting problem in conversational AI is not producing a good response, it is remembering enough context to know which response is the good one.

highlights

  • Multi-turn memory across a session, not per-message statelessness
  • Multilingual, including Roman Urdu
  • Q&A, poem generation, and continuing an existing conversation

built with

  • Python
  • Chainlit
  • Gemini API
All work