WordPress\AiClient\Builders
PromptBuilder::asOutputFileType
Sets the output file type.
Метод класса: PromptBuilder{}
Хуков нет.
Возвращает
self.
Использование
$PromptBuilder = new PromptBuilder(); $PromptBuilder->asOutputFileType( $fileType ): self;
- $fileType(FileTypeEnum) (обязательный)
- The output file type.
Список изменений
| С версии 0.1.0 | Введена. |
Код PromptBuilder::asOutputFileType() PromptBuilder::asOutputFileType WP 7.1.4
public function asOutputFileType(FileTypeEnum $fileType): self
{
$this->modelConfig->setOutputFileType($fileType);
return $this;
}