1 min read
The Vercel AI SDK now supports Cohere through a new official provider. To use the provider, install the relevant package:
You can then use the provider with all AI SDK Core methods. For example, here's how you can use it with generateText:
Using the Cohere provider with the Vercel AI SDK
For more information, please see the documentation.