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 bcc2aea commit bcc220fCopy full SHA for bcc220f
genai/controlled-generation/ctrlgen-with-enum-schema.js
@@ -14,7 +14,7 @@
14
15
'use strict';
16
17
-// [START googlegenaisdk_textgen_with_txt]
+// [START googlegenaisdk_ctrlgen_with_enum_schema]
18
const {GoogleGenAI, Type} = require('@google/genai');
19
20
const GOOGLE_CLOUD_PROJECT = process.env.GOOGLE_CLOUD_PROJECT;
@@ -48,7 +48,7 @@ async function generateContent(
48
49
return response.text;
50
}
51
-// [END googlegenaisdk_textgen_with_txt]
+// [END googlegenaisdk_ctrlgen_with_enum_schema]
52
53
module.exports = {
54
generateContent,
0 commit comments