-
Notifications
You must be signed in to change notification settings - Fork 67
mediaResolution parameter missing from GenerationConfig #535
Copy link
Copy link
Open
Labels
api: aiplatformIssues related to the googleapis/nodejs-vertexai API.Issues related to the googleapis/nodejs-vertexai API.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Metadata
Metadata
Assignees
Labels
api: aiplatformIssues related to the googleapis/nodejs-vertexai API.Issues related to the googleapis/nodejs-vertexai API.priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
I'm trying to use the
mediaResolutionparameter as described in the Vertex AI REST API documentation, but I’ve noticed that this library does not currently support this field. Specifically, theGenerationConfigdoes not include themediaResolutionparameter, which makes it impossible to fully utilize the API features through the Node.js client.Suggested fix
Please update the
GenerationConfigtype definition in the library to match the actual REST API capabilities.Additional context
Here’s the relevant documentation for the
mediaResolutionparameter:https://ai.google.dev/api/generate-content#MediaResolution