Chat Data icon

Chat Data

Basic Chat Data Node

Chatbot → Create Chatbot

AI-generated

Overview

This node operation creates a new chatbot with specified configurations. It supports different chatbot models including custom data upload, veterinary medical chat, human medical chat, and custom backend endpoints. Users can provide a chatbot name, select the model, and optionally supply source text for training or URLs to scrape for training data. For custom backend models, users can specify the backend endpoint and bearer token for authorization. This operation is useful for setting up chatbots tailored to specific knowledge bases or custom backend services.

Use Case Examples

  1. Creating a chatbot trained with your own knowledge base by providing source text and URLs to scrape.
  2. Creating a veterinary medical chatbot using a predefined model.
  3. Creating a chatbot that connects to a custom backend endpoint with authorization token.

Properties

Name Meaning
Chatbot Name Name of the chatbot to create, required for identification.
Model The model to use for the chatbot, determining its behavior and training method.
Source Text Text to train the chatbot with, applicable only when using the custom data upload model.
URLs to Scrape List of URLs to scrape for training data, applicable only when using the custom data upload model.
Custom Backend The custom backend endpoint URL, used only when the model is set to custom backend.
Bearer Token Authorization token for the custom backend, used only when the model is set to custom backend.

Output

JSON

  • json
    • chatbotId - Identifier of the created chatbot
    • status - Status of the chatbot creation process
    • message - Message returned from the chatbot creation API, including success or error details

Dependencies

  • An API key credential for authentication with the chat data API service

Troubleshooting

  • Ensure the chatbot name is provided and not empty, as it is required.
  • Verify the base URL and API key credentials are correctly configured to avoid authentication errors.
  • When using the custom backend model, ensure the custom backend URL and bearer token are correctly specified.
  • If the API returns an error status, check the error message for details and correct the input parameters accordingly.
  • Use the 'continue on fail' option to handle errors gracefully and continue processing other items if applicable.

Discussion