BeforeGenerateResultEvent::getModel(): WordPressAiClientProvidersModelsContractsModelInterface

In this article

Gets the model that will process the prompt.

Return

WordPressAiClientProvidersModelsContractsModelInterface The model.

Source

public function getModel(): ModelInterface
{
    return $this->model;
}

Changelog

VersionDescription
0.4.0Introduced.

User Contributed Notes

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