Class LLMObsCustomEvalConfigTarget

java.lang.Object
com.datadog.api.client.v2.model.LLMObsCustomEvalConfigTarget

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsCustomEvalConfigTarget extends Object
Target application configuration for a custom evaluator.
  • Field Details

  • Constructor Details

    • LLMObsCustomEvalConfigTarget

      public LLMObsCustomEvalConfigTarget()
    • LLMObsCustomEvalConfigTarget

      public LLMObsCustomEvalConfigTarget(String applicationName, Boolean enabled)
  • Method Details

    • applicationName

      public LLMObsCustomEvalConfigTarget applicationName(String applicationName)
    • getApplicationName

      public String getApplicationName()
      Name of the ML application this evaluator targets.
      Returns:
      applicationName
    • setApplicationName

      public void setApplicationName(String applicationName)
    • enabled

      public LLMObsCustomEvalConfigTarget enabled(Boolean enabled)
    • getEnabled

      public Boolean getEnabled()
      Whether the evaluator is active for the target application.
      Returns:
      enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
    • evalScope

    • getEvalScope

      @Nullable public LLMObsCustomEvalConfigEvalScope getEvalScope()
      Scope at which to evaluate spans.
      Returns:
      evalScope
    • setEvalScope

      public void setEvalScope(LLMObsCustomEvalConfigEvalScope evalScope)
    • experimentProjectIds

      public LLMObsCustomEvalConfigTarget experimentProjectIds(List<UUID> experimentProjectIds)
    • addExperimentProjectIdsItem

      public LLMObsCustomEvalConfigTarget addExperimentProjectIdsItem(UUID experimentProjectIdsItem)
    • getExperimentProjectIds

      @Nullable public List<UUID> getExperimentProjectIds()
      Experiment project IDs this evaluator is scoped to.
      Returns:
      experimentProjectIds
    • setExperimentProjectIds

      public void setExperimentProjectIds(List<UUID> experimentProjectIds)
    • filter

      public LLMObsCustomEvalConfigTarget filter(String filter)
    • getFilter

      @Nullable public String getFilter()
      Filter expression to select which spans to evaluate.
      Returns:
      filter
    • getFilter_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getFilter_JsonNullable()
    • setFilter_JsonNullable

      public void setFilter_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> filter)
    • setFilter

      public void setFilter(String filter)
    • rootSpansOnly

      public LLMObsCustomEvalConfigTarget rootSpansOnly(Boolean rootSpansOnly)
    • getRootSpansOnly

      @Nullable public Boolean getRootSpansOnly()
      When true, only root spans are evaluated.
      Returns:
      rootSpansOnly
    • getRootSpansOnly_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Boolean> getRootSpansOnly_JsonNullable()
    • setRootSpansOnly_JsonNullable

      public void setRootSpansOnly_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> rootSpansOnly)
    • setRootSpansOnly

      public void setRootSpansOnly(Boolean rootSpansOnly)
    • samplingPercentage

      public LLMObsCustomEvalConfigTarget samplingPercentage(Double samplingPercentage)
    • getSamplingPercentage

      @Nullable public Double getSamplingPercentage()
      Percentage of traces to evaluate. Must be greater than 0 and at most 100.
      Returns:
      samplingPercentage
    • getSamplingPercentage_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Double> getSamplingPercentage_JsonNullable()
    • setSamplingPercentage_JsonNullable

      public void setSamplingPercentage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> samplingPercentage)
    • setSamplingPercentage

      public void setSamplingPercentage(Double samplingPercentage)
    • putAdditionalProperty

      public LLMObsCustomEvalConfigTarget putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      LLMObsCustomEvalConfigTarget
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this LLMObsCustomEvalConfigTarget object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object