PromptBuilder::asOutputFileType( WordPressAiClientFilesEnumsFileTypeEnum $fileType ): self

In this article

Sets the output file type.

Parameters

$fileTypeWordPressAiClientFilesEnumsFileTypeEnumrequired
The output file type.

Return

self

Source

public function asOutputFileType(FileTypeEnum $fileType): self
{
    $this->modelConfig->setOutputFileType($fileType);
    return $this;
}

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.