Class AzureOpenAiEmbeddingOptions

java.lang.Object
org.springframework.ai.azure.openai.AzureOpenAiEmbeddingOptions
All Implemented Interfaces:
EmbeddingOptions, ModelOptions

public class AzureOpenAiEmbeddingOptions extends Object implements EmbeddingOptions
The configuration information for the embedding requests.
Since:
0.8.0
Author:
Christian Tzolov, Thomas Vitale
  • Constructor Details

    • AzureOpenAiEmbeddingOptions

      public AzureOpenAiEmbeddingOptions()
  • Method Details

    • builder

      public static AzureOpenAiEmbeddingOptions.Builder builder()
    • getModel

      public String getModel()
      Specified by:
      getModel in interface EmbeddingOptions
    • setModel

      public void setModel(String model)
    • getUser

      public String getUser()
    • setUser

      public void setUser(String user)
    • getDeploymentName

      public String getDeploymentName()
    • setDeploymentName

      public void setDeploymentName(String deploymentName)
    • getInputType

      public String getInputType()
    • setInputType

      public void setInputType(String inputType)
    • getDimensions

      public Integer getDimensions()
      Specified by:
      getDimensions in interface EmbeddingOptions
    • setDimensions

      public void setDimensions(Integer dimensions)
    • toAzureOptions

      public com.azure.ai.openai.models.EmbeddingsOptions toAzureOptions(List<String> instructions)