Class UpdateScoreConfigRequest.Builder
java.lang.Object
com.langfuse.client.resources.scoreconfigs.types.UpdateScoreConfigRequest.Builder
- Enclosing class:
UpdateScoreConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()categories(List<ConfigCategory> categories) categories(Optional<List<ConfigCategory>> categories) Configure custom categories for categorical scores.description(String description) description(Optional<String> description) Description is shown across the Langfuse UI and can be used to e.g.from(UpdateScoreConfigRequest other) isArchived(Boolean isArchived) isArchived(Optional<Boolean> isArchived) The status of the score config showing if it is archived or notConfigure a maximum value for numerical scores.Configure a minimum value for numerical scores.The name of the score config
-
Method Details
-
from
-
isArchived
The status of the score config showing if it is archived or not
-
isArchived
-
name
The name of the score config
-
name
-
categories
Configure custom categories for categorical scores. Pass a list of objects with
labelandvalueproperties. Categories are autogenerated for boolean configs and cannot be passed -
categories
-
minValue
Configure a minimum value for numerical scores. If not set, the minimum value defaults to -∞
-
minValue
-
maxValue
Configure a maximum value for numerical scores. If not set, the maximum value defaults to +∞
-
maxValue
-
description
Description is shown across the Langfuse UI and can be used to e.g. explain the config categories in detail, why a numeric range was set, or provide additional context on config name or usage
-
description
-
build
-
additionalProperty
-
additionalProperties
public UpdateScoreConfigRequest.Builder additionalProperties(Map<String, Object> additionalProperties)
-