Class ZhiPuAiEmbeddingOptions

java.lang.Object
org.springframework.ai.zhipuai.ZhiPuAiEmbeddingOptions
All Implemented Interfaces:
org.springframework.ai.embedding.EmbeddingOptions, org.springframework.ai.model.ModelOptions

public class ZhiPuAiEmbeddingOptions extends Object implements org.springframework.ai.embedding.EmbeddingOptions
The ZhiPuAiEmbeddingOptions class represents the options for ZhiPuAI embedding.
Since:
1.0.0 M1
Author:
Geng Rong, Thomas Vitale, Ilayaperumal Gopinathan
  • Constructor Details

    • ZhiPuAiEmbeddingOptions

      public ZhiPuAiEmbeddingOptions()
  • Method Details

    • builder

      public static ZhiPuAiEmbeddingOptions.Builder builder()
    • getModel

      public String getModel()
      Specified by:
      getModel in interface org.springframework.ai.embedding.EmbeddingOptions
    • setModel

      public void setModel(String model)
    • setDimensions

      public void setDimensions(Integer dimensions)
    • getDimensions

      public Integer getDimensions()
      Specified by:
      getDimensions in interface org.springframework.ai.embedding.EmbeddingOptions