Icon

01 AI Chatbots

<p>This workflow demonstrates different options for building <strong>custom AI chatbots</strong>.</p><p>Using a <strong>learning assistant chatbot</strong> as an example, the workflow shows:</p><ul><li><p>how to build a <strong>basic chatbot</strong> with a single question and answer, then enhance it with <strong>conversation history</strong>, and finally wrap it manually into a component with an <strong>interactive chat view</strong> (LLM Chat Prompter node)</p></li><li><p>how to build a <strong>fully interactive chatbot automatically</strong> (Agent Chat View node)</p></li></ul>

Set up the OpenAI API key, authenticate, and select the LLM

01 AI Chatbots - Learning assistant

This workflow demonstrates different options for building custom AI chatbots.

Using a learning assistant chatbot as an example, the workflow shows:

  • how to build a basic chatbot with a single question and answer, then enhance it with conversation history, and finally wrap it manually into a component with an interactive chat view (LLM Chat Prompter node)

  • how to build a fully interactive chatbot automatically (Agent Chat View node)

Basic chat (no conversation history)

Create a conversation history (message type)

Fully interactive chatbot with multi-turn conversation
(Instead of building your own component)

Basic chat (with conversation history)

The LLM Chat Prompter does not manage multi-turn conversations. Continue chat by adding the next Prompter node...

... or wrap it into an interactive component so the user can send new messages and view the updated conversation from a custom interface (enables multi-turn conversation)

Get API Key
OpenAI Authenticator
OpenAI LLM Selector
Basic chat: 1 question, 1 answer
LLM Chat Prompter
Convert roles and contentinto message data type
Message Creator
Create an exampleconversation
Table Creator
Continue chat
LLM Chat Prompter
Set a system message,open the view, andstart chatting immediately
Agent Chat View
Custom chatbot
Basic chat withconversation history
LLM Chat Prompter

Nodes

Extensions

Links