Support for Vercel's ai-sdk

Vercel launched ai sdk which is a wrapper on top of the existing openai package. Can we use that for building our hackathon submission? I have tested out SambaNova endpoint and it works well with it, just wanted to clarify if the usage is limited to the openai sdk

Vercel AI SDK - ai - npm

4 Likes

This seems an essential to have to get more adoption

1 Like

Not sure why this never got replied to but the answer is yes you can use this.
-Coby

OpenAPI with base URL changes works for basic REST calls, but dedicated AI SDKs provide critical features like proper typing, streaming support, specialized error handling, and helper utilities that you’d otherwise need to build yourself.

Took a while but it happened: SambaNova provider for Vercel AI SDK

That’s good news, I’ve added support for SambaNova now to https://typedai.dev using the vercel ai package.