GenkitG
Genkit•2y ago•
1 reply
foolish-indigo

New PR to add Google Search grounding to

New PR to add Google Search grounding to vertexai models as model configuration https://github.com/firebase/genkit/pull/640

Sample usage:

const llmResponse = await generate({
  model: gemini15Pro,
  config: {
    version: input.modelVersion,
    vertexRetrieval: {
      datastore: {
        dataStoreId: 'abc',
        projectId: 'extensions-testing',
        location: 'global',
      },
    },
    googleSearchRetrieval: {},
  },
});


cc @Chris G
Was this page helpful?