objectiveai-sdk 2.0.7

ObjectiveAI SDK, definitions, and utilities
Documentation
{
  "title": "functions.TaskExpression",
  "description": "A task definition with expressions (pre-compilation).\n\nTask expressions contain dynamic fields (JMESPath or Starlark) that are\nresolved against input data during compilation. Use [`compile`](Self::compile)\nto produce a concrete [`Task`].",
  "anyOf": [
    {
      "title": "ScalarFunction",
      "type": "object",
      "$ref": "functions.ScalarFunctionTaskExpression",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "scalar.function"
          ]
        }
      }
    },
    {
      "title": "VectorFunction",
      "type": "object",
      "$ref": "functions.VectorFunctionTaskExpression",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "vector.function"
          ]
        }
      }
    },
    {
      "title": "VectorCompletion",
      "type": "object",
      "$ref": "functions.VectorCompletionTaskExpression",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "vector.completion"
          ]
        }
      }
    },
    {
      "title": "PlaceholderScalarFunction",
      "type": "object",
      "$ref": "functions.PlaceholderScalarFunctionTaskExpression",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "placeholder.scalar.function"
          ]
        }
      }
    },
    {
      "title": "PlaceholderVectorFunction",
      "type": "object",
      "$ref": "functions.PlaceholderVectorFunctionTaskExpression",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "placeholder.vector.function"
          ]
        }
      }
    }
  ]
}