Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 3.19 KB

AIConfigVariationPatch.md

File metadata and controls

37 lines (25 loc) · 3.19 KB

AIConfigVariationPatch

Properties

Name Type Description Notes
classifiers List<Classifier> Replaces classifier rules on a judge variation. An empty array clears them. When this array is non-empty, messages must be empty. [optional]
comment String Human-readable description of what this patch changes [optional]
description String Description for agent when the config is in agent mode. [optional]
instructions String Instructions for agent when the config is in agent mode. [optional]
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]
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 (either in this patch or already on the variation), and the version must exist for that model config. When omitted, the variation keeps the version it is currently set to, unless the patch changes modelConfigKey, in which case the variation records the new model config's current (latest) version. [optional]
name String A human-readable name for the variation [optional]
outputFormat Map<String, Object> JSON Schema defining the structured output format for the variation. [optional]
published Boolean Whether to publish this version of the variation [optional]
state StateEnum The state to move the variation to. Omit this field to keep the current state. - `archived`: Archive a published variation. You cannot archive a variation that is already archived. You also cannot archive the only variation of an AI Config. An AI Config itself cannot be archived. - `published`: Restore an archived variation. You cannot publish a variation that is already published. [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. Replaces the current attachments. [optional]
judgeConfiguration JudgeConfiguration [optional]

Enum: StateEnum

Name Value
ARCHIVED "archived"
PUBLISHED "published"