agent_deployer package#

Submodules#

agent_deployer.agent_deployer module#

class agent_deployer.agent_deployer.AgentDeployer(agent_name: str, model_class_name: str, function: str, result_path: str | None = None, inputs_path: str | None = None, outputs: list[str] | None = None, requirements: list[str] | None = None, image: str = 'mlrun/mlrun', set_model_monitoring: bool = False, **model_params)[source]#

Bases: object

configure_model_monitoring()[source]#

Configure model monitoring for the active project.

deploy_function(enable_tracking: bool) ServingRuntime[source]#

Deploy the agent as a serving function in MLRun. :param enable_tracking: Whether to enable tracking for the function.

get_function() ServingRuntime[source]#

Get the serving function, loading it if necessary.

property project#

Get the current MLRun project.

property project_name#

Get the name of the current MLRun project.

Module contents#