Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 3.04 KB

AIConfigVariation.md

File metadata and controls

44 lines (32 loc) · 3.04 KB

AIConfigVariation

Properties

Name Type Description Notes
links ParentLink [optional]
color String The color used for this variation in the UI [optional]
classifiers List<Classifier> Classifier rules for a judge variation. When this array is non-empty, messages must be empty. [optional]
comment String A comment describing this version of the 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 The variation key
id String The variation ID
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}`.
modelConfigKey String The key of the model config that this variation uses, not the provider model ID. Absent when the variation does not use a model config. [optional]
modelConfigVersion Integer The version of the model config that this variation is pinned to, when it references a custom model config. Absent when the variation does not reference a model config, when the variation is not pinned to a specific version, or when custom model config versioning is not enabled for the project. [optional]
name String The variation name
outputFormat Map<String, Object> JSON Schema defining the structured output format for the variation. [optional]
createdAt Long
version Integer The version number of this resource
state StateEnum The state of the variation. - `archived`: The variation is archived. To restore it, update the variation with `state` set to `published`. - `published`: The variation is active. [optional]
archivedAt Long [optional]
publishedAt Long [optional]
tools List<VariationTool> The tools this variation can use [optional]
skills List<VariationSkill> The agent skills this variation can use [optional]
judgeConfiguration JudgeConfiguration [optional]
judgingConfigKeys List<String> Keys of the judge AI Configs attached to this variation [optional]

Enum: StateEnum

Name Value
ARCHIVED "archived"
PUBLISHED "published"