Class PostgresMlEmbeddingOptions

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

public class PostgresMlEmbeddingOptions extends Object implements org.springframework.ai.embedding.EmbeddingOptions
PostgresML Embedding Options.
Author:
Christian Tzolov, Thomas Vitale, Ilayaperumal Gopinathan, Sébastien Deleuze
  • Field Details

  • Constructor Details

  • Method Details

    • getTransformer

      public String getTransformer()
    • getVectorType

      public PostgresMlEmbeddingModel.VectorType getVectorType()
    • getKwargs

      public @Nullable Map<String,Object> getKwargs()
    • getMetadataMode

      public org.springframework.ai.document.MetadataMode getMetadataMode()
    • getModel

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

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

      public static PostgresMlEmbeddingOptions.Builder builder()