ConstOptional configuration overrides for the provider
An object with methods to access chat and embedding models
Creates a chat language model instance for the specified Heroku model.
Creates an embedding model instance for the specified Heroku model.
Creates an image generation model instance for the specified Heroku model.
Use createHerokuAI instead.
Creates a configurable Heroku AI provider for the Vercel AI SDK.
This helper lets you override API keys or base URLs when the default environment variables (
INFERENCE_KEY,INFERENCE_URL,EMBEDDING_KEY,EMBEDDING_URL) are not sufficient.Browser Compatibility: In browser environments,
process.envis not available. You must provide API keys via the options parameter (e.g.,chatApiKey,embeddingsApiKey,imageApiKey).