aiq.front_ends.fastapi.fastapi_front_end_plugin#

Classes#

FastApiFrontEndPlugin

Helper class that provides a standard way to create an ABC using

Module Contents#

class FastApiFrontEndPlugin(full_config: aiq.data_models.config.AIQConfig)#

Bases: aiq.builder.front_end.FrontEndBase[aiq.front_ends.fastapi.fastapi_front_end_config.FastApiFrontEndConfig]

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.

get_worker_class() type[aiq.front_ends.fastapi.fastapi_front_end_plugin_worker.FastApiFrontEndPluginWorkerBase]#
get_worker_class_name() str#
async run()#

Runs the specified configuration file, launching the workflow until the front end is complete.