WordPress\AiClient\Providers\Models\TextToSpeechConversion\Contracts

TextToSpeechConversionOperationModelInterface::convertTextToSpeechOperation │ public │ WP 0.1.0

Creates a text-to-speech conversion operation.

Метод класса: TextToSpeechConversionOperationModelInterface{}

Хуков нет.

Возвращает

GenerativeAiOperation. The initiated text-to-speech conversion operation.

Использование

$TextToSpeechConversionOperationModelInterface = new TextToSpeechConversionOperationModelInterface();
$TextToSpeechConversionOperationModelInterface->convertTextToSpeechOperation( $prompt ): GenerativeAiOperation;
$prompt(list) (обязательный)
Array of messages containing the text to convert to speech.

Список изменений

С версии 0.1.0 Введена.

Код TextToSpeechConversionOperationModelInterface::convertTextToSpeechOperation() WP 7.1.2

public function convertTextToSpeechOperation(array $prompt): GenerativeAiOperation;