Skip to content

Repository files navigation

Vercel AI SDK tutorial

https://vercel.com/blog/introducing-the-vercel-ai-sdk

A Chatbot that uses either of OpenAI API, Huggingface and Anthropic under the hood.A tweak the src/chatbot.js file to change the API. http://localhost:3000/chat

A test of Server Sent Events (SSE) with Next.js

http://localhost:3000/client-sse-2

Trouble Shooting

429 -> OpenAI API key is wrong or not set.

HTTP Error 429 is an HTTP response status code that indicates the client application has surpassed its rate limit, or number of requests they can send in a given period of time.

Releases

Packages

Used by

Contributors

Languages