WordPress\AiClient\Builders
PromptBuilder::asOutputFileType
Sets the output file type.
Method of the class: PromptBuilder{}
No Hooks.
Returns
self.
Usage
$PromptBuilder = new PromptBuilder(); $PromptBuilder->asOutputFileType( $fileType ): self;
- $fileType(FileTypeEnum) (required)
- The output file type.
Changelog
| Since 0.1.0 | Introduced. |
PromptBuilder::asOutputFileType() PromptBuilder::asOutputFileType code WP 7.0
public function asOutputFileType(FileTypeEnum $fileType): self
{
$this->modelConfig->setOutputFileType($fileType);
return $this;
}