KernelArguments Class
The arguments sent to the KernelFunction.
Initializes a new instance of the KernelArguments class.
This is a dict-like class with the additional field for the execution_settings.
This class is derived from a dict, hence behaves the same way, just adds the execution_settings as a dict, with service_id and the settings.
- Inheritance
-
builtins.dictKernelArguments
Constructor
KernelArguments(settings: PromptExecutionSettings | list[PromptExecutionSettings] | dict[str, PromptExecutionSettings] | None = None, **kwargs: Any)
Parameters
Name | Description |
---|---|
settings
|
<xref:PromptExecutionSettings | List>[<xref:PromptExecutionSettings>]<xref: | None>
The settings for the execution. If a list is given, make sure all items in the list have a unique service_id as that is used as the key for the dict. Default value: None
|
**kwargs
Required
|
The arguments for the function invocation, works similar to a regular dict. |