This class implements a HumanStandardInputFlow. It's used to read input from the user/human. Typically used to get feedback from the user/human.
-
name (str): The name of the flow.
-
description (str): A description of the flow. This description is used to generate the help message of the flow.
Default: "Reads input from the user's standard input."
-
request_multi_line_input_flag (bool): If True, the user/human is requested to enter a multi-line input.
If False, the user/human is requested to enter a single-line input. Default: No defaul, this parameter is required.
-
end_of_input_string (str): The string that the user/human should enter to indicate that the input is finished.
This parameter is only used if "request_multi_line_input_flag" is True. Default: "EOI"
-
query_message_prompt_template (JinjaPrompt): The prompt template used to generate the query message. By default its of type aiflows.prompt_template.JinjaPrompt.
None of the parameters of the prompt are defined by default and therefore need to be defined if one wants to use the init_human_message_prompt_template. Default parameters are defined in
aiflows.prompt_template.jinja2_prompts.JinjaPrompt.
-
The other parameters are inherited from the default configuration of AtomicFlow (see AtomicFlow)
1@classmethod
2def instantiate_from_config(cls, config)
Instantiates the flow from a config file.
Runs the HumanStandardInputFlow. It's used to read input from the user/human's standard input.