Back to Projects
Overview
A Telegram bot architecture split into API, Bot, and NLP services. It uses FastAPI, SQLite, and OpenAI API to manage user interactions and provide context-aware AI responses.
Key Features
- User registration and interaction tracking
- Context-aware AI responses using OpenAI
- Modular architecture: API, Bot, and NLP services
- Persistent storage of user queries
Challenges & Solutions
Maintaining conversation context was complex. Solved by storing user queries in a database, improving response relevance by over 60%.
Technologies
PythonFastAPISQLiteOpenAI APITelegram Bot API