Spring Ai Embedding Service
constructor(name: String, provider: String, model: <Error class: unknown class>, configuredDimensions: Int? = null, pricingModel: PricingModel? = null)
Parameters
configured Dimensions
If provided, uses this value for dimensions instead of making a live API call via EmbeddingModel.dimensions. This avoids startup failures when the embedding endpoint is not available (e.g., Azure OpenAI deployments that only expose chat completions).