ai icon indicating copy to clipboard operation
ai copied to clipboard

Feedback for “Getting Started”

Open raamponsah opened this issue 1 year ago • 1 comments

A number of things are missing: We need to indicate that if the developer wants to use UseCompletion, then the api route must set in the /api/completion/route folder if he or she uses useChat then api/chat/route this must be clearly state. Futher, we need clarity between the difference between useCompletion and useChat as on the npm page it is useChat that is used

raamponsah avatar Jun 22 '23 10:06 raamponsah

We need to indicate that if the developer wants to use UseCompletion, then the api route must set in the /api/completion/route folder if he or she uses useChat then api/chat/route this must be clearly state.

The API endpoint can be specified via an api option, please check the related API references and type definitions (https://sdk.vercel.ai/docs/api-reference/use-chat#use-chat-options).

shuding avatar Jun 22 '23 11:06 shuding