Library / Chatbots & Messaging Bots
Chatbots & Messaging Bots
Chat on Telegram with a DeepSeek Memory Agent
When a Telegram message arrives, a DeepSeek and OpenAI agent with Google Docs long-term memory answers it after user validation.
What it does
# DeepSeek API Call The DeepSeek API uses an API format compatible with OpenAI. By modifying the configuration, you can use the OpenAI SDK or softwares compatible with the OpenAI API to access the DeepSeek API. https://api-docs.deepseek.com/ ## Configuration Parameters | Parameter | Value | |-----------|--------| | base_url | https://api.deepseek.com | | api_key | https://platform.deepseek.com/api_keys | ## Important Notes - To be compatible with OpenAI, you can also use https://api.deepseek.com/v1 as the base_url. Note that the v1 here has NO relationship with the model's version. - The deepseek-chat model has been upgraded to DeepSeek-V3. The API remains unchanged. You can invoke DeepSeek-V3 by specifying model='deepseek-chat'. - deepseek-reasoner is the latest reasoning model, DeepSeek-R1, released by DeepSeek. You can invoke DeepSeek-R1 by specifying model='deepseek-reasoner'.
The steps
- Check User & Chat ID
- Error message
- Listen for Telegram Events
- Validation
- Message Router
- AI Agent
- Merge
- Window Buffer Memory
- When chat message received
- Telegram Response
- Save Long Term Memories
- Retrieve Long Term Memories
- Response Error message
- DeepSeek-R1 Reasoning
15 steps in total.
Similar automations
Chatbots & Messaging BotsTelegram DeepSeek AI Agent with Long-Term Memory15 stepsAI Agents & AssistantsChat with a DeepSeek Telegram Agent with Long-Term Memory32 stepsAI Agents & AssistantsChat with a DeepSeek Telegram Agent with Long-Term Memory32 stepsChatbots & Messaging BotsChat with an AI Agent with Memory and Notes13 steps