This node allows a chatbot to collect information by asking the user to provide specific pieces of information (e.g., name, email, etc).

Node Inputs

  1. Query: The query given by user

    • Type: Text
  2. Field: The field to be collected

    • Type: Text
  3. Description: Description of the field to be collected

    • Type: Text
  4. Example: Example of the field to be collected

    • Type: Text

If Auto Generate Questions is selected:

  1. Prompt: Specific instructions of how the LLM should collect the information

    • Type: Text

Node Parameters

In the gear:

  1. Auto Generate Questions: If checked, the node will output questions in successive order until all fields are successfully collected. If unchecked, the node will output the data that is collected (often passed to an LLM with a prompt to ask successive questions to the user, along with specific instructions after all fields are collected) - e.g., {'Field1': 'Collected_Data', 'Field2': 'Collected_Data'}

    • Type: Checkbox

If Auto Generate Questions selected:

  1. LLM: The model provider.

    • Type: Dropdown
  2. Model: The specific model for question generation. A

    • Type: Dropdown

Node Outputs

  1. Collected Data: The data collected by the node

    • Type: Text

    • Example usage: {{data_collector_0.collected_data}}

If Auto Generate Questions is selected:

  1. Question: The output of the data collector

    • Type: Text

    • Example usage: {{data_collector_0.question}}