Class OCIEmbeddingOptions

java.lang.Object
org.springframework.ai.oci.OCIEmbeddingOptions
All Implemented Interfaces:
EmbeddingOptions, ModelOptions

public class OCIEmbeddingOptions extends Object implements EmbeddingOptions
The configuration information for OCI embedding requests
Author:
Anders Swanson
  • Constructor Details

    • OCIEmbeddingOptions

      public OCIEmbeddingOptions()
  • Method Details

    • builder

      public static OCIEmbeddingOptions.Builder builder()
    • getModel

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

      public void setModel(String model)
    • getDimensions

      public Integer getDimensions()
      Not used by OCI GenAI.
      Specified by:
      getDimensions in interface EmbeddingOptions
      Returns:
      null
    • getCompartment

      public String getCompartment()
    • setCompartment

      public void setCompartment(String compartment)
    • getServingMode

      public String getServingMode()
    • setServingMode

      public void setServingMode(String servingMode)
    • getTruncate

      public com.oracle.bmc.generativeaiinference.model.EmbedTextDetails.Truncate getTruncate()
    • setTruncate

      public void setTruncate(com.oracle.bmc.generativeaiinference.model.EmbedTextDetails.Truncate truncate)