-
Notifications
You must be signed in to change notification settings - Fork 623
Closed
Description
const testFlow = ai.defineFlow(
{
name: "tesFlow"
},
async (input) => {
const { response } = ai.generateStream({
prompt: input,
model: gemini20Flash001,
config: {
googleSearchRetrieval: {
disableAttribution: true,
}
}
});
const { text } = await response;
return text;
}
);throws
[VertexAI.ClientError]: got status: 400 Bad Request. {"error":{"code":400,"message":"Unable to submit request because
Please use google_search field instead of google_search_retrieval field.. Learn more:
https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini","status":"INVALID_ARGUMENT"}}
as of this moment the field is not available in the vertexai SDK.
harveyappleton, tanabee, k2wanko, 1shiharat, tomerbeil and 1 more
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done