Interface EmbeddingRequestParameters

All Known Implementing Classes:
DefaultEmbeddingRequestParameters, OpenAiEmbeddingRequestParameters

@Experimental public interface EmbeddingRequestParameters
The per-call parameters of an EmbeddingRequest, such as dimensions() or inputType(). Provider integrations can extend this interface (via DefaultEmbeddingRequestParameters) to add provider-specific parameters.

Every value carried by these parameters is identified by an EmbeddingParameter token. The set of tokens actually populated is exposed via presentParameters(); an EmbeddingModel rejects a request carrying a parameter it does not list in EmbeddingModel.supportedParameters(), so a parameter a model cannot apply is never silently ignored.

Since:
1.18.0
See Also: