How we built the edufind Chatbot

By Franco on April 29, 2025

How we built the edufind Chatbot
Share:Share on LinkedInShare via Email

The Vision Behind Our Chatbot

At Edufind.ch, we're constantly looking for ways to enhance how users discover educational opportunities. While our traditional search and filtering system serves many users well, we recognized an opportunity to create something more engaging and personalized. Our vision was twofold:

  • Enhance User Engagement:
    Create a more interactive experience that keeps users on the platform longer and provides more value
  • Simulate a Real Advisor:
    Develop an AI assistant that replicates the experience of talking with a knowledgeable education counselor

Our Development Journey

Our journey began with experimentation. We started small with a simple Python terminal chatbot to test various approaches and understand the fundamentals. These early experiments taught us invaluable lessons about creating a conversational AI with memory, orchestration capabilities, and effective tool integration.

Once we felt confident in our understanding, we transitioned to the real implementation using TypeScript within our existing Edufind codebase. We built our solution using:

  • LangChain and LangGraph: For creating the conversational flow and logic
  • GPT-4o and GPT-4o-mini: As our language models, providing a balance between capabilities and performance
  • Custom Tool Integration: We developed specialized tooling that allows the chatbot to access our complete course database through our search API

Technical Architecture

Our AI assistant is built on a robust technical architecture that ensures seamless interaction between the user interface, API layer, and our AI orchestration system:

The architecture follows this flow:

  • User interacts with the chatbot on edufind.ch
  • The messages are passed to our Chat-API
  • The API communicates with our LangGraph implementation, which orchestrates the conversation flow

LangGraph Orchestration

The core of our chatbot's intelligence lies in how we structured the conversation flow using LangGraph. We designed a state graph that manages different conversation states and transitions between them based on user input and system responses.

Our LangGraph implementation consists of several key components:

  • Coach Node: The primary conversation manager that guides the user interaction
  • Human Node: Handles user input and processes their responses
  • Course Search Tool: A specialized tool node that interfaces with our course database API
  • Course Suggestor: Processes search results and presents them to users in a conversational format
  • No Results Handler: Gracefully manages scenarios where no matching courses are found

These nodes are connected with conditional edges that determine the flow of the conversation based on the context and user inputs.

Here's a visual representation of our LangGraph architecture:


How It Works

With this technical foundation in place, our AI assistant does much more than simply respond to queries. It actively guides users through a discovery process that helps them explore educational opportunities aligned with their interests and goals.

The chatbot operates with an extensive system prompt that instructs it to:

  • Ask users about their previous educational and professional experiences
  • Explore their future goals and aspirations
  • Identify key topics and degree levels that interest them
  • Search our database for relevant courses that match these parameters
  • Present findings in an engaging, conversational manner



Creating a More Engaging User Experience

What makes our chatbot approach fundamentally different from traditional search is the conversational journey. Instead of scrolling through endless lists of courses, users engage in a dialogue that feels natural and responsive. The chatbot adapts to their responses, asks insightful follow-up questions, and provides personalised recommendations.

We've designed the interaction to be simple and enjoyable. The chatbot guides users with thoughtful questions while allowing them the freedom to explore their own interests. This creates a complementary user journey that enhances rather than replaces our existing search functionality.

Future Enhancements

We're excited about the current implementation, but we already have plans to make our AI assistant even more engaging and user-friendly:

  • Interactive UI Elements: Adding clickable buttons for common responses to reduce the need for typing
  • Voice Capabilities: Exploring speech-to-text and text-to-speech functionality to make interactions even more natural
  • Expanded Knowledge Base: Continuously improving the chatbot's understanding of educational pathways and career options

Conclusion

The Edufind.ch AI assistant represents a significant step forward in how we help users discover educational opportunities. By combining powerful AI language models with our comprehensive course database, we've created a tool that not only provides information but delivers an engaging, personalized experience.

We believe this approach to education guidance better reflects how people naturally explore their options – through conversation, questions, and an iterative discovery process. As we continue to refine and enhance our chatbot, we remain committed to our mission of making education guidance more accessible, personal, and effective for everyone.

Have you tried our new AI assistant yet? We'd love to hear your feedback!