We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 827bce3 commit 1c9602eCopy full SHA for 1c9602e
e2e/sample-apps/modular.js
@@ -332,15 +332,12 @@ async function callVertexAI(app) {
332
333
const model = getGenerativeModel(vertexAI, {
334
mode: 'prefer_on_device',
335
- inCloudParams: {
336
- generationConfig: {
337
- responseSchema
338
- }
339
+ // mode: 'only_in_cloud'
340
});
341
342
const singleResult = await model.generateContent({
343
generationConfig: {
+ responseMimeType: 'application/json',
344
responseSchema
345
},
346
contents: [
0 commit comments