Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 2.38 KB

AIConfigVariationPost.md

File metadata and controls

27 lines (19 loc) · 2.38 KB

AIConfigVariationPost

Properties

Name Type Description Notes
classifiers List<Classifier> Classifier rules for a judge variation. When this array is non-empty, messages must be empty. [optional]
comment String Human-readable description of this variation [optional]
description String Returns the description for the agent. This is only returned for agent variations. [optional]
instructions String Returns the instructions for the agent. This is only returned for agent variations. [optional]
key String A unique key for the variation
messages List<Message> The prompt messages for this variation [optional]
model Object Freeform JSON object. LaunchDarkly does not validate the keys. In a model config, `params` and `customParams` hold parameters that the provider's API accepts, for example `{&quot;temperature&quot;: 0.7, &quot;maxTokens&quot;: 4096}`. [optional]
name String A human-readable name for the variation
modelConfigKey String The key that GET /api/v2/projects/{projectKey}/ai-configs/model-configs returns for the model config. Do not use a custom model config's ID, which is the provider model ID. [optional]
modelConfigVersion Integer The exact model config version to set this variation to. Requires modelConfigKey to be set, and the version must exist for that model config. When omitted, the variation records the model config's current (latest) version. [optional]
outputFormat Map<String, Object> JSON Schema defining the structured output format for the variation. [optional]
tools List<VariationToolPost> List of tools to use for this variation. The latest version of the tool will be used. [optional]
toolKeys List<String> List of tool keys to use for this variation. The latest version of the tool will be used. [optional]
skills List<VariationSkillPost> List of agent skills to attach to this variation. [optional]
judgeConfiguration JudgeConfiguration [optional]