Spark
Learn how to use the Spark provider for the AI SDK.
This community provider is not yet compatible with AI SDK 5. Please wait for the provider to be updated or consider using an AI SDK 5 compatible provider.
The Spark provider contains language model support for the Spark API, giving you access to models like lite, generalv3, pro-128k, generalv3.5, max-32k and 4.0Ultra.
Setup
The Spark provider is available in the spark-ai-provider module. You can install it with
Provider Instance
You can import createSparkProvider from spark-ai-provider to create a provider instance:
Example
Documentation
Please check out the Spark provider documentation for more information.