VoyageProviderSettings interface defines the configuration options you can pass when creating a Voyage AI provider instance using createVoyage().
Properties
Use a different URL prefix for API calls, e.g. to use proxy servers.Default:
https://api.voyageai.com/v1See Voyage AI API ReferenceAPI key that is sent using the
Authorization header.Default: Value from the VOYAGE_API_KEY environment variableCustom headers to include in the requests.
Custom fetch implementation. You can use it as a middleware to intercept requests, or to provide a custom fetch implementation for testing.