AcademyWorkflowsCustomer support

Telegram Knowledge Chatbot with RAG and User Feedback

Internal support teams and knowledge managers who want a documentation assistant on Telegram that records feedback on its answers.

  • Recommendedour rating
  • 3,306views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

build-a-chatbot-with-reinforced-learning-human-feedback-rlhf-and-rag.json

Loading the file...

What it does

Two n8n workflows. The first imports documentation from Google Docs, splits it, embeds it with OpenAI and stores it in a MongoDB Atlas vector store. The second answers Telegram messages using that documentation, then asks the user for approval or disapproval and saves the feedback with the conversation.

Use cases

  1. 01Answer staff questions from product documentation
  2. 02Index Google Docs into a searchable vector store
  3. 03Collect thumbs up or down on each bot answer

Connects

Telegram · Google Docs · Code · AI Agent · Embeddings OpenAI · OpenAI Chat Model · Recursive Character Text Splitter · Default Data Loader · MongoDB Chat Memory · MongoDB Atlas Vector Store

Questions about
Telegram Knowledge Chatbot with RAG and User Feedback.

What is Telegram Knowledge Chatbot with RAG and User Feedback used for?

Internal support teams and knowledge managers who want a documentation assistant on Telegram that records feedback on its answers. Two n8n workflows. The first imports documentation from Google Docs, splits it, embeds it with OpenAI and stores it in a MongoDB Atlas vector store. The second answers Telegram messages using that documentation, then asks the user for approval or disapproval and saves the feedback with the conversation.

How do I import Telegram Knowledge Chatbot with RAG and User Feedback into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Telegram Knowledge Chatbot with RAG and User Feedback safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.