vercel / ai

Build AI-powered applications with React, Svelte, Vue, and Solid
https://sdk.vercel.ai/docs
Other
8.8k stars 1.26k forks source link

Google Vertex AI provider tool calling #1269

Closed goodrules closed 1 month ago

goodrules commented 3 months ago

Feature Description

Currently, only the consumer APIs are available via @google/generative-ai-js for Gemini. Would like to include access to the Vertex SDK for the GCP endpoints for Gemini via https://github.com/googleapis/nodejs-vertexai.

Use Case

Developers wanting to leverage their GCP resources to build with Vercel.

Additional context

No response

williamsmt commented 3 months ago

863 seemed to introduce this but closed?

lgrammel commented 2 months ago

Basic provider (no tool calls / gen ui): https://sdk.vercel.ai/providers/ai-sdk-providers/google-vertex

lgrammel commented 1 month ago

https://github.com/vercel/ai/pull/1775