aiq.front_ends.console.console_front_end_plugin#
Attributes#
Classes#
Helper class that provides a standard way to create an ABC using |
Functions#
|
A simple CLI-based callback. |
Module Contents#
- logger#
- async prompt_for_input_cli( ) aiq.data_models.interactive.HumanResponse #
A simple CLI-based callback. Takes question as str, returns the typed line as str.
- class ConsoleFrontEndPlugin(full_config: aiq.data_models.config.AIQConfig)#
Bases:
aiq.front_ends.simple_base.simple_front_end_plugin_base.SimpleFrontEndPluginBase
[aiq.front_ends.console.console_front_end_config.ConsoleFrontEndConfig
]Helper class that provides a standard way to create an ABC using inheritance.
Initializes the FrontEndBase object with the specified AgentIQ configuration.
Parameters#
- full_configAIQConfig
The configuration object to use for the front end.
- async pre_run()#
- async run()#
Runs the specified configuration file, launching the workflow until the front end is complete.
- async run_workflow(
- session_manager: aiq.runtime.session.AIQSessionManager = None,