objectiveai-sdk 2.0.7

ObjectiveAI SDK, definitions, and utilities
Documentation
{
  "title": "functions.executions.request.FunctionExecutionCreateParams",
  "description": "Parameters for creating a function execution.",
  "type": "object",
  "properties": {
    "continuation": {
      "description": "Continuation from a previous completion, as a base64-encoded string.",
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "omitempty": true
    },
    "from_cache": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "omitempty": true
    },
    "function": {
      "description": "The function to execute (inline definition or remote path).",
      "$ref": "functions.FullInlineFunctionOrRemoteCommitOptional"
    },
    "input": {
      "$ref": "functions.expression.InputValue"
    },
    "invert": {
      "description": "If `true`, invert every output in the streamed response *after* the\ninner function has finished computing — scalar outputs become\n`1 - x`, vector outputs are reversed in place. The expression\nevaluator inside the function still sees the original scores; only\nthe chunks delivered to the client (and the aggregated response\npassed to the usage handler) are inverted. Useful when a function\nis naturally written to score \"lower is better\" but the consumer\nwants \"higher is better\", or vice versa.",
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "omitempty": true
    },
    "profile": {
      "description": "The profile to use (inline definition or remote path).",
      "$ref": "functions.InlineProfileOrRemoteCommitOptional"
    },
    "provider": {
      "anyOf": [
        {
          "$ref": "agent.completions.request.Provider"
        },
        {
          "type": "null"
        }
      ],
      "omitempty": true
    },
    "reasoning": {
      "anyOf": [
        {
          "$ref": "functions.executions.request.Reasoning"
        },
        {
          "type": "null"
        }
      ],
      "omitempty": true
    },
    "retry_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "omitempty": true
    },
    "seed": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": -9223372036854775808,
          "maximum": 9223372036854775807
        },
        {
          "type": "null"
        }
      ],
      "omitempty": true
    },
    "split": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "omitempty": true
    },
    "strategy": {
      "anyOf": [
        {
          "$ref": "functions.executions.request.Strategy"
        },
        {
          "type": "null"
        }
      ],
      "omitempty": true
    },
    "stream": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "omitempty": true
    }
  }
}