workflows.fit
Back to n8n workflows
n8n templateFreeBy isaWOW

Guide students with an AI tutor chatbot using RAG, intent classification and GPT-4o-mini

Description Automatically guide students through personalized learning sessions using AI-powered intent classification, book-based knowledge retrieval (RAG), and full session logging — all without writing a single lin...

Data & StorageProductivityAILangchainCore NodesSticky NoteLm Chat Deep SeekAgent
Loading interactive preview...

Template notes

Description

Automatically guide students through personalized learning sessions using AI-powered intent classification, book-based knowledge retrieval (RAG), and full session logging — all without writing a single line of code.

---

What this workflow does

Nathan is an intelligent AI tutor chatbot that detects what the student is trying to do — greeting, asking a question, answering, introducing a topic, or going off-topic — and responds accordingly using the right teaching strategy every time.

Key features:

- Smart intent classification using DeepSeek LLM — identifies 5 intents: greeting, topic, answer, question, random - Dynamic system prompts — fetches the right teaching prompt from Google Sheets based on the classified intent - RAG-powered answers — GPT-4o-mini retrieves relevant content from a Pinecone book vector store to give accurate, book-grounded responses - Full session memory — maintains conversation context with a sliding-window buffer for natural multi-turn dialogue - Automatic Q\&A logging — every exchange is saved to Google Sheets for teacher review and auditing - Public chat interface — students can access Nathan directly via browser without any login

---