ReasoningEffort
ReasoningEffort.php
:
16
Enum: string
Provider-neutral reasoning effort levels. Not every model supports every level: a connector restricts them per model ({@see OptionDefinition::withChoices()}) and appends vendor levels to {@see self::choices()}.
New cases may be added in minor releases, so code matching on them needs a default arm.
Cases
None ¶
ReasoningEffort.php
:
18
|
|
|
Minimal ¶
ReasoningEffort.php
:
19
|
|
|
Low ¶
ReasoningEffort.php
:
20
|
|
|
Medium ¶
ReasoningEffort.php
:
21
|
|
|
High ¶
ReasoningEffort.php
:
22
|
|
|
Methods¶
choices()
¶
ReasoningEffort.php
:
36
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $cases | self | - | - |
Return values
array<string, string>
getLabelTranslationKey()
¶
ReasoningEffort.php
:
28
|
|
|
Return values
string
optionDefinition()
¶
ReasoningEffort.php
:
50
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $default | self|string|null | null |
null leaves the effort to the provider |
| $position | int | 30 | - |
| $choices | array<string, string>|null | null | - |