all AI news
Quick dip: Use Google Cloud Vertex AI SDK with the Vercel AI SDK
April 12, 2024, 8 p.m. | Roger Martinez
DEV Community dev.to
🏊♀️ This post is a quick dip. The opposite of a deep dive.
The Vercel AI SDK documentation includes code samples for hooking up the SDK to different providers like Anthropic, OpenAI, and others. This list includes Google, but only shows you how to use the Google AI JavaScript SDK. Here's some sample code of how to hook it up to the Vertex AI SDK:
// app/api/chat/route.ts
import { VertexAI } from "@google-cloud/vertexai";
import { …
anthropic cloud code deep dive documentation genai google google cloud googlecloud google cloud vertex ai list next.js openai samples sdk shows vercel vercel ai sdk vertex
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Data Engineer
@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US
Research Engineer
@ Allora Labs | Remote
Ecosystem Manager
@ Allora Labs | Remote
Founding AI Engineer, Agents
@ Occam AI | New York