File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
vertexai/generative_models Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1605,11 +1605,12 @@ def __init__(
1605
1605
1606
1606
- ``text/plain``: (default) Text output.
1607
1607
- ``application/json``: JSON response in the candidates.
1608
+ - ``text/x.enum``: enum response in the candidates. Only valid when
1609
+ response_schema is provided.
1608
1610
1609
1611
The model needs to be prompted to output the appropriate
1610
1612
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.
1613
1614
routing_config: Model routing preference set in the request.
1614
1615
logprobs: Logit probabilities.
1615
1616
reponse_logprobs: If true, export the logprobs results in response.
You can’t perform that action at this time.
0 commit comments