OllamaChatPromptExecutionSettings Class
Settings for Ollama chat prompt execution.
Initialize the prompt execution settings.
Constructor
OllamaChatPromptExecutionSettings(service_id: str | None = None, *, extension_data: dict[str, Any] = None, function_choice_behavior: FunctionChoiceBehavior | None = None, format: Literal['json'] | None = None, options: dict[str, Any] | None = None, tools: list[dict[str, Any]] | None = None)
Parameters
Name | Description |
---|---|
service_id
|
The service ID to use for the request. Default value: None
|
kwargs
Required
|
Additional keyword arguments, these are attempted to parse into the keys of the specific prompt execution settings. |
Keyword-Only Parameters
Name | Description |
---|---|
extension_data
Required
|
|
function_choice_behavior
Required
|
|
format
Required
|
|
options
Required
|
|
tools
Required
|
|
Attributes
tools
tools: Annotated[list[dict[str, Any]] | None, FieldInfo(annotation=NoneType, required=True, description='Do not set this manually. It is set by the service based on the function choice configuration.')]