stop_model_invocation_job¶
Operation¶
stop_model_invocation_job
¶
stop_model_invocation_job(request: StopModelInvocationJobInput | StopModelInvocationJobInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[StopModelInvocationJobInputDict]) -> StopModelInvocationJobOutput
Stops a batch inference job. You're only charged for tokens that were already processed. For more information, see Stop a batch inference job.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
StopModelInvocationJobInput | StopModelInvocationJobInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[StopModelInvocationJobInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
StopModelInvocationJobOutput
|
An instance of |
stop_model_invocation_job
async
¶
stop_model_invocation_job(request: StopModelInvocationJobInput | StopModelInvocationJobInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[StopModelInvocationJobInputDict]) -> StopModelInvocationJobOutput
Stops a batch inference job. You're only charged for tokens that were already processed. For more information, see Stop a batch inference job.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
StopModelInvocationJobInput | StopModelInvocationJobInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[StopModelInvocationJobInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
StopModelInvocationJobOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
Output¶
StopModelInvocationJobOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for StopModelInvocationJobOutput structure.