{
  "opencollection": "1.0.0",
  "info": {
    "name": "Friendli Suite API Reference Container.Audio Serverless.ToolAssistedChat API",
    "version": "0.1.0"
  },
  "items": [
    {
      "info": {
        "name": "Serverless.ToolAssistedChat",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Tool assisted chat completions",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.friendli.ai/serverless/tools/v1/chat/completions",
            "headers": [
              {
                "name": "X-Friendli-Team",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Generate a model response from a list of messages comprising a conversation. Compatible with the OpenAI Chat Completions API, with support for streaming, tool calls, and structured outputs. Additionally, the model can utilize built-in tools for tool calls, enhancing its capability to provide more comprehensive and actionable responses."
        },
        {
          "info": {
            "name": "Stream tool assisted chat completions",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.friendli.ai/serverless/tools/v1/chat/completions#stream",
            "headers": [
              {
                "name": "X-Friendli-Team",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Generate a model response from a list of messages comprising a conversation. Compatible with the OpenAI Chat Completions API, with support for streaming, tool calls, and structured outputs. Additionally, the model can utilize built-in tools for tool calls, enhancing its capability to provide more comprehensive and actionable responses."
        }
      ]
    }
  ],
  "bundled": true
}