Class OpenAiEmbeddingOptions

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

public class OpenAiEmbeddingOptions extends Object implements EmbeddingOptions
Since:
0.8.0
Author:
Christian Tzolov
  • Constructor Details

    • OpenAiEmbeddingOptions

      public OpenAiEmbeddingOptions()
  • Method Details

    • builder

      public static OpenAiEmbeddingOptions.Builder builder()
    • getModel

      public String getModel()
    • setModel

      public void setModel(String model)
    • getEncodingFormat

      public String getEncodingFormat()
    • setEncodingFormat

      public void setEncodingFormat(String encodingFormat)
    • getUser

      public String getUser()
    • setUser

      public void setUser(String user)