🧠 Personal AI Assistant Automation
This is a multi-functional AI personal assistant that receives voice commands via Telegram, processes them using OpenAI tools, searches memory via Pinecone, and responds back with either text or spoken audio.
🎯 What It Can Do
- Accepts voice or text via Telegram
- Transcribes audio to text
- Understands and executes tasks (email, calendar, research, etc.)
- Retrieves context and past memory using Pinecone
- Replies via text or generates voice responses with ElevenLabs
🔧 Step-by-Step Breakdown
🔹 1. Input Trigger (Telegram)
- Telegram Trigger listens for messages (text or voice).
- A Switch node determines if the input is voice or text.
🔹 2. Transcription (if voice input)
- If voice, the file is downloaded and sent to OpenAI Whisper (or similar) to transcribe the audio into text.
🔹 3. Prepare the Message
- The transcription or text message is cleaned/formatted using the Set Text node.
🔹 4. AI Agent: Personal Assistant Core
- All input is sent to a Tools Agent powered by the OpenAI Chat Model.
- It’s enhanced with:
🔹 5. Contextual Retrieval (RAG)
- Queries are embedded using OpenAI Embeddings
- Sent to Pinecone Vector Store for matching prior information
- Retrieved context is used to ground the AI's response
🔹 6. Respond Back to Telegram
- The output from the assistant is sent back in two ways:
✅ What This Assistant Can Handle
- Understands natural speech
- Searches memory and knowledge
- Sends summaries, updates, reminders, or email drafts
- Responds in text and realistic voice
- Completely automated inside Telegram