Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Refer to docs for gemini model support
  • Loading branch information
dlarocque committed May 5, 2025
commit b898f357242bab8fc616b460e01f6d169228e209
2 changes: 1 addition & 1 deletion docs-devsite/vertexai.generationconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ responseMimeType?: string;

Generation modalities to be returned in generation responses.

- Multimodal response generation is only supported in `gemini-2.0-flash-exp`<!-- -->, not `gemini-2.0-flash`<!-- -->. - Only image generation (`ResponseModality.IMAGE`<!-- -->) is supported.
- Multimodal response generation is only supported in some Gemini models and versions; see [model versions](https://firebase.google.com/docs/vertex-ai/models)<!-- -->. - Only image generation (`ResponseModality.IMAGE`<!-- -->) is supported.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Multimodal response generation is only supported in some Gemini models and versions; see [model versions](https://firebase.google.com/docs/vertex-ai/models)<!-- -->. - Only image generation (`ResponseModality.IMAGE`<!-- -->) is supported.
- Multimodal response generation is only supported by some Gemini models and versions; see [model versions](https://firebase.google.com/docs/vertex-ai/models)<!-- -->. - Only image generation (`ResponseModality.IMAGE`<!-- -->) is supported.


<b>Signature:</b>

Expand Down
2 changes: 1 addition & 1 deletion packages/vertexai/src/types/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export interface GenerationConfig {
* Generation modalities to be returned in generation responses.
*
* @remarks
* - Multimodal response generation is only supported in `gemini-2.0-flash-exp`, not `gemini-2.0-flash`.
* - Multimodal response generation is only supported in some Gemini models and versions; see {@link https://firebase.google.com/docs/vertex-ai/models | model versions}.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* - Multimodal response generation is only supported in some Gemini models and versions; see {@link https://firebase.google.com/docs/vertex-ai/models | model versions}.
* - Multimodal response generation is only supported by some Gemini models and versions; see {@link https://firebase.google.com/docs/vertex-ai/models | model versions}.

* - Only image generation (`ResponseModality.IMAGE`) is supported.
*
* @beta
Expand Down
Loading