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>
Annotations and comments
  • 01 AI Chatbots - Learning assistant Este flujo de trabajo muestra diferentes opciones para crear chatbots de IA personalizados. Tomando como ejemplo un chatbot de asistente de aprendizaje, el flujo de trabajo muestra: cómo crear un chatbot básico con una sola pregunta y respuesta, luego mejorarlo con el historial de la conversación y, finalmente, integrarlo manualmente en un componente con una vista de chat interactiva (nodo LLM Chat Prompter). cómo crear automáticamente un chatbot totalmente interactivo (nodo Agent Chat View).
  • Chat básico (sin historial de conversaciones)
  • Chat básico (con historial de conversación) El sistema de chat LLM no gestiona conversaciones de varios turnos. Continúa el chat añadiendo el siguiente nodo del sistema...
  • ... o integrarlo en un componente interactivo para que el usuario pueda enviar nuevos mensajes y ver la conversación actualizada desde una interfaz personalizada (lo que permite conversaciones de varios turnos).
  • Configura la clave API de OpenAI, autentícate y selecciona el LLM.
  • Create a conversation history (message type)
  • Chatbot totalmente interactivo con conversación multi-turno (En lugar de crear tu propio componente)
  • Set a system message, open the view, and start chatting immediately
  • Save conversation history in a temp folder
  • Basic chat ever: one question, one answer
  • user input
  • Load the conversation
  • Chat history
  • Update conversation table
  • Basic chat: 1 question, 1 answer
  • Basic chat with conversation history
  • Continue chat
  • Convert roles and content into message data type
  • Create an example conversation

Nodes

Extensions

Links