objectiveai-sdk 2.0.7

ObjectiveAI SDK, definitions, and utilities
Documentation
{
  "title": "functions.VectorCompletionTask",
  "description": "A compiled vector completion task ready for execution.",
  "type": "object",
  "properties": {
    "messages": {
      "description": "The resolved conversation messages.",
      "type": "array",
      "items": {
        "$ref": "agent.completions.message.Message"
      }
    },
    "output": {
      "description": "Expression to transform the task result into a valid function output.\n\nReceives `output` as the task's raw result (typically `Vector(scores)`).\nMust return a `TaskOutputOwned` valid for the parent function's type (scalar or vector).\nSee [`VectorCompletionTaskExpression::output`] for full documentation.",
      "$ref": "functions.expression.Expression"
    },
    "responses": {
      "description": "The resolved response options the LLMs can vote for.",
      "type": "array",
      "items": {
        "$ref": "agent.completions.message.RichContent"
      }
    }
  }
}