-
Hi, so I've got the anthrophic sdk working for the most part, and it works fine. But I just don't know how to send it back to the client.
For context - it's a next 13 app, with supabase as the db. …
-
## The issue
I have a server route that calls `openai.createChatCompletion`. When runtime is **not** set to edge in the route, the stream prematurely aborts and does not run the `onCompletion` functi…
-
## Fix before launch
- [x] speech always adds a space before prompt, needs a trim
- [x] after there was some error - we need to cancel everything AI bar is doing and return it to initial state
- …
-
### Environment
- Operating System: `Darwin`
- Node Version: `v20.2.0`
- Nuxt Version: `3.5.3`
- Nitro Version: `2.4.1`
- Package Manager: `pnpm@8.6.2`
- Builder: `vite`
…
-
Using NextJS 13 without appDir, I just installed LangchainJS for use in my tRPC back-end
In local everything works like a charm.
After deploying on Vercel as a Serverless function, I have this str…
-
Hey Rajesh! Great Project!!
I am building off of the supabase clone of the vercel ai chatbot & I am currently stuck on saving the chats to storage. I have gotten it to work but often times langcha…
-
I want to use localstorage with [vercel ai-chatbot](https://github.com/vercel-labs/ai-chatbot), but api/chat/route.ts is a server side code.
A call to this api endpoint is made via useChat handleSubm…
-
This `qs` library generally has some things that aren't supported in edge environments in a downstream dependency:
```
test-exports-vercel:build: Failed to compile.
test-exports-vercel:build:
t…
-
**Please briefly describe the project you'd like to add to _Best of JS_?**
Vercel AI SDK
**What is the URL of the project you'd like to add to _Best of JS_?**
sdk.vercel.ai/docs
**Before sub…
-
AIStreamParserOptions is not inside the 'ai' module after installing 'ai' and 'openai-edge' (pnpm install ai openai-edge). When trying to write code similar to that shown in the example of the AIStrea…