class documentation
Class wrapper for model invocation activities to allow model customization.
Method | __init__ |
Initialize the activity with a model provider. |
Async Method | invoke |
Activity that invokes a model with the given input. |
Instance Variable | _model |
Undocumented |
@activity.defn
@_auto_heartbeater
async def invoke_model_activity(self, input:
@_auto_heartbeater
async def invoke_model_activity(self, input:
ActivityModelInput
) -> ModelResponse
:
(source)
¶
Activity that invokes a model with the given input.