Evandro Murilo

Results 3 issues of Evandro Murilo

This allows structured output usage. ```php $client = new Client($key); $clent = $client->withV1BetaVersion()->generativeModel('gemini-2.0-flash'); $config = (new GenerationConfig()) ->withResponseMimeType(MimeType::APPLICATION_JSON) ->withResponseSchema([ 'type' => 'string', 'enum' => [ 'hotdog', 'fries', 'coke' ] ]);...

We do this on `sendMessage`: ``` $config = (new GenerationConfig()) ->withCandidateCount(1); $response = $this->model ->withGenerationConfig($config) ->generateContentWithContents($this->history); ``` Which overwrittes any previously defined generation config.