Skip to content

Commit

Permalink
docs: GenAI - update comments in GenerationConfig property
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 681595419
  • Loading branch information
vertex-sdk-bot authored and copybara-github committed Oct 2, 2024
1 parent 2053765 commit c670eeb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vertexai/generative_models/_generative_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1605,11 +1605,12 @@ def __init__(
- ``text/plain``: (default) Text output.
- ``application/json``: JSON response in the candidates.
- ``text/x.enum``: enum response in the candidates. Only valid when
response_schema is provided.
The model needs to be prompted to output the appropriate
response type, otherwise the behavior is undefined.
response_schema: Output response schema of the genreated candidate text. Only valid when
response_mime_type is application/json.
response_schema: Output response schema of the genreated candidate text.
routing_config: Model routing preference set in the request.
logprobs: Logit probabilities.
reponse_logprobs: If true, export the logprobs results in response.
Expand Down

0 comments on commit c670eeb

Please sign in to comment.