What it does
An n8n workflow that answers questions about your past emails through a Telegram bot. It combines structured SQL searches with semantic search over embeddings stored in pgvector on PostgreSQL. It runs on locally hosted open source models, with Ollama as the language model and nomic-embed-text for the embeddings.
Use cases
- 01Find a hotel booking in an old email thread
- 02Look up dates or figures mentioned in past messages
- 03Ask a Telegram bot about past correspondence
Connects
Telegram · Code · AI Agent · OpenAI Chat Model · Simple Memory · Call n8n Workflow Tool · Embeddings Ollama · Postgres PGVector Store