Skip to main content

Returns

Returns the updated Version object.

Example

Parameters

string
required
ID of the version to update.
string
New name for the version. A name of v followed by digits is reserved for a version number, so the platform accepts it only when it is this version’s own label.
string
New version description.
string
New system prompt used for the version.
string
New reference to a model configured in the Galtea Platform.
string
New description of the dataset used for training.
string
New URI to the dataset.
string
New configuration for safety guardrails.
string
New ID of the version this one was revised from. The parent must belong to the same product.
dict[str, str]
New facts: the agent state this version represents, as a flat map of text to text. Two live versions of one product cannot hold the same facts.
dict
New rule that recovers the user-visible reply from a non-LLM span.
dict
New rule that recovers the user message from a non-LLM span.
string
New endpoint connection used for conversational interactions with your AI product.
string
New endpoint connection executed before the conversation begins.
string
New endpoint connection executed after the conversation ends.
string
New phone connection used for voice interactions with your AI product.
string
New WebRTC connection used for voice interactions with your AI product.
All fields except version_id default to PydanticUndefined (from pydantic_core). Omit a field (or pass PydanticUndefined) to leave it unchanged. Pass None to explicitly clear an optional field. Pass a value to update it.