Whether the configuration is enabled.
Optional
messagesOptional prompt data.
Optional
modelOptional model configuration.
Optional
providerOptional configuration for the provider.
Maps this AI config to a format usable direcly in Vercel AI SDK generateText() and streamText() methods.
WARNING: this method can throw an exception if a Vercel AI SDK model cannot be determined.
A Vercel AI SDK Provider or a map of provider names to Vercel AI SDK Providers.
Optional
options: VercelAISDKMapOptionsOptional mapping options.
Optional
A configuration directly usable in Vercel AI SDK generateText() and streamText()
if a Vercel AI SDK model cannot be determined from the given provider parameter.
A tracker which can be used to generate analytics.
Generated using TypeDoc
AI Config and tracker.