Data Collector Node
Allows a chatbot to collect information
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
-
Query: The query given by user
- Type:
Text
- Type:
-
Field: The field to be collected
- Type:
Text
- Type:
-
Description: Description of the field to be collected
- Type:
Text
- Type:
-
Example: Example of the field to be collected
- Type:
Text
- Type:
If Auto Generate Questions is selected:
-
Prompt: Specific instructions of how the LLM should collect the information
- Type:
Text
- Type:
Node Parameters
In the gear:
-
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
- Type:
If Auto Generate Questions selected:
-
LLM: The model provider.
- Type:
Dropdown
- Type:
-
Model: The specific model for question generation. A
- Type:
Dropdown
- Type:
Node Outputs
-
Collected Data: The data collected by the node
-
Type:
Text
-
Example usage:
{{data_collector_0.collected_data}}
-
If Auto Generate Questions is selected:
-
Question: The output of the data collector
-
Type:
Text
-
Example usage:
{{data_collector_0.question}}
-