Skip to main content

BenchChatCompletionRequest

modelModel (string)required
frequency_penalty object
anyOf
number
messages object[]required
  • Array [
  • roleRole (string)required

    Possible values: [system, user, assistant, developer, tool, function]

    content object
    anyOf
    string
    reasoning_content object
    anyOf
    string
    name object
    anyOf
    string
    tool_calls object
    anyOf
  • Array [
  • idId (string)required
    index object
    anyOf
    integer
    typeType (string)
    Constant value: function
    Default value: function
    function objectrequired
    idId (string)
    nameName (string)required
    argumentsArguments (string)required
  • ]
  • tool_call_id object
    anyOf
    string
    function_call object
    anyOf
    object
  • ]
  • logit_bias object
    anyOf
    object
    logprobs object
    anyOf
    boolean
    top_logprobs object
    anyOf
    integer
    max_tokens object
    anyOf
    integer
    n object
    anyOf
    integer
    presence_penalty object
    anyOf
    number
    response_format object
    anyOf
    object
    seed object
    anyOf
    integer
    stop object
    anyOf
    string
    streamStream (boolean)
    Default value: false
    stream_options object
    anyOf
    include_usageInclude Usage (boolean)
    Default value: false
    temperature object
    anyOf
    number
    top_p object
    anyOf
    number
    top_k object
    anyOf
    integer
    tools object
    anyOf
  • Array [
  • property name*any
  • ]
  • reasoning_effort object
    anyOf
    string

    Possible values: [none, minimal, low, medium, high, xhigh]

    enable_thinking object
    anyOf
    boolean
    min_p object
    anyOf
    number
    repetition_penalty object
    anyOf
    number
    repetition_context_size object
    anyOf
    integer
    tool_choice object
    anyOf
    string
    parallel_tool_calls object
    anyOf
    boolean
    user object
    anyOf
    string
    BenchChatCompletionRequest
    {
    "messages": [
    {
    "content": "Hello from Skulk",
    "role": "user"
    }
    ],
    "model": "mlx-community/Llama-3.2-1B-Instruct-4bit",
    "stream": false,
    "temperature": 0.7
    }