PromptBuilder::usingWebSearch( WordPressAiClientToolsDTOWebSearch $webSearch ): self

In this article

Sets the web search configuration.

Parameters

$webSearchWordPressAiClientToolsDTOWebSearchrequired
The web search configuration.

Return

self

Source

public function usingWebSearch(WebSearch $webSearch): self
{
    $this->modelConfig->setWebSearch($webSearch);
    return $this;
}

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

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