objectiveai-sdk 2.0.7

ObjectiveAI SDK, definitions, and utilities
Documentation
{
  "title": "functions.UsageFunctionResponse",
  "description": "Usage statistics for a function.",
  "type": "object",
  "properties": {
    "completion_tokens": {
      "description": "Total completion tokens used.",
      "type": "integer",
      "minimum": 0,
      "maximum": 18446744073709551615
    },
    "prompt_tokens": {
      "description": "Total prompt tokens used.",
      "type": "integer",
      "minimum": 0,
      "maximum": 18446744073709551615
    },
    "requests": {
      "description": "Total number of requests made with this function.",
      "type": "integer",
      "minimum": 0,
      "maximum": 18446744073709551615
    },
    "total_cost": {
      "description": "Total cost incurred.",
      "type": "number",
      "minimum": -3.4028234663852886e+38,
      "maximum": 3.4028234663852886e+38
    }
  }
}