|
15 | 15 | use WordPress\AiClient\Messages\DTO\Message; |
16 | 16 | use WordPress\AiClient\Messages\DTO\MessagePart; |
17 | 17 | use WordPress\AiClient\Messages\Enums\ModalityEnum; |
| 18 | +use WordPress\AiClient\Providers\Http\DTO\RequestOptions; |
18 | 19 | use WordPress\AiClient\Providers\Models\Contracts\ModelInterface; |
19 | 20 | use WordPress\AiClient\Providers\Models\DTO\ModelConfig; |
20 | 21 | use WordPress\AiClient\Providers\Models\Enums\CapabilityEnum; |
|
57 | 58 | * @method self using_presence_penalty(float $presencePenalty) Sets the presence penalty for generation. |
58 | 59 | * @method self using_frequency_penalty(float $frequencyPenalty) Sets the frequency penalty for generation. |
59 | 60 | * @method self using_web_search(WebSearch $webSearch) Sets the web search configuration. |
| 61 | + * @method self using_request_options(RequestOptions $options) Sets the request options for HTTP transport. |
60 | 62 | * @method self using_top_logprobs(?int $topLogprobs = null) Sets the top log probabilities configuration. |
61 | 63 | * @method self as_output_mime_type(string $mimeType) Sets the output MIME type. |
62 | 64 | * @method self as_output_schema(array<string, mixed> $schema) Sets the output schema. |
63 | 65 | * @method self as_output_modalities(ModalityEnum ...$modalities) Sets the output modalities. |
64 | 66 | * @method self as_output_file_type(FileTypeEnum $fileType) Sets the output file type. |
65 | 67 | * @method self as_json_response(?array<string, mixed> $schema = null) Configures the prompt for JSON response output. |
| 68 | + * @method bool is_supported(?CapabilityEnum $capability = null) Checks if the prompt is supported for the given capability. |
66 | 69 | * @method bool is_supported_for_text_generation() Checks if the prompt is supported for text generation. |
67 | 70 | * @method bool is_supported_for_image_generation() Checks if the prompt is supported for image generation. |
68 | 71 | * @method bool is_supported_for_text_to_speech_conversion() Checks if the prompt is supported for text to speech conversion. |
|
0 commit comments