← All projects
💬
AI Chatbot with Memory
Beginner⏱ 1–2 days · 4 milestones
Build a simple chatbot that remembers the last 5 messages in the conversation using the OpenAI or Claude API. Deploy it as a web app.
Difficulty
Beginner
Duration
1–2 days
Milestones
4 steps
Interview Qs
3 questions
🛠 Tech stack
PythonFastAPIClaude / OpenAI APIReact or Streamlit
✅ Prerequisites
- ● Basic Python
- ● REST APIs
Step-by-step milestones
1
Set up API key + make first call
Call the LLM API and get a response.
2
Add conversation history
Pass the last N messages to maintain context.
3
Build a simple UI
Create a chat interface using Streamlit or React.
4
Deploy
Deploy to Railway, Vercel or Hugging Face Spaces.
Skills you'll build
LLM APIPythonPrompt EngineeringConversation history
📝 Interview questions you'll face
- 1.How do you handle context windows?
- 2.What is token limit? How did you manage it?
- 3.How would you add multi-user support?
🌟 Portfolio guidance
Show the GitHub repo, live demo link, and add a README explaining the architecture and token management strategy.