Skip to content

Commit c670eeb

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
docs: GenAI - update comments in GenerationConfig property
PiperOrigin-RevId: 681595419
1 parent 2053765 commit c670eeb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vertexai/generative_models/_generative_models.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1605,11 +1605,12 @@ def __init__(
16051605
16061606
- ``text/plain``: (default) Text output.
16071607
- ``application/json``: JSON response in the candidates.
1608+
- ``text/x.enum``: enum response in the candidates. Only valid when
1609+
response_schema is provided.
16081610
16091611
The model needs to be prompted to output the appropriate
16101612
response type, otherwise the behavior is undefined.
1611-
response_schema: Output response schema of the genreated candidate text. Only valid when
1612-
response_mime_type is application/json.
1613+
response_schema: Output response schema of the genreated candidate text.
16131614
routing_config: Model routing preference set in the request.
16141615
logprobs: Logit probabilities.
16151616
reponse_logprobs: If true, export the logprobs results in response.

0 commit comments

Comments
 (0)