A powerful, multi-modal Telegram AI assistant workflow integrating OpenAI, Baserow, and PostgreSQL to provide a personal, memory-aware chat experience. This template lets you chat with an AI assistant through Telegram using text, voice messages, and photos. It can store long-term memories and notes in Baserow, manage chat context in PostgreSQL or buffer memory, and even analyze images or transcribe audio. Designed for personalized, secure, and context-aware interactions.
Key Features:
- Telegram Bot Integration:
- Receives and responds to messages directly in Telegram.
- Handles text, audio (voice messages), and images.
- AI-Powered Responses:
- Uses OpenAI (e.g., GPT-4o-mini) via LangChain for natural, conversational replies.
- Customizable system prompts for personality and behavior tuning.
- Long-Term Memory with Baserow:
- Stores key user information, preferences, and context as “Memories.”
- Saves notes or instructions separately for better organization.
- Chat Context Management: PostgreSQL or buffer window chat memory for smoother ongoing conversations.
- Voice Transcription: Converts Telegram voice messages to text automatically.
- Image Analysis: Accepts user-uploaded photos and runs OpenAI-based visual analysis.
- Secure User Validation: An Optional step to validate Telegram users before enabling features.
- Customizable Setup Notes: Sticky notes in the workflow explain Baserow table setup, node configurations, and best practices.
- Extensible Agent Tools: Framework to add more tools (e.g., contacts, calendar, vector search) to the AI agent.