AiModelCatalogInterface
AiModelCatalogInterface.php
:
17
Interface
Instantiated by the bundle configuration, so it must not depend on services.
Methods¶
getInheritedAdjustments()
¶
AiModelCatalogInterface.php
:
32
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $modelIdentifier | string | - | - |
Return values
array<string, array<string, mixed>>
getModelOptions()
¶
AiModelCatalogInterface.php
:
27
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $modelIdentifier | string | - | - |
Return values
array<string, array<string, mixed>|null>
getOptionDefinitions()
¶
AiModelCatalogInterface.php
:
22
The configured default max_tokens and temperature are applied on top of these definitions.
|
|
|
Return values
validateModelOptions()
¶
AiModelCatalogInterface.php
:
41
Checks the provider API rules the option definitions cannot express.
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $modelIdentifier | string | - | - |
| $options | array<string, array<string, mixed>|null> | - | - |