Skip to content

CreateChatCompletionStreamToolCalls

Example Usage

typescript
import { CreateChatCompletionStreamToolCalls } from "@meetkai/mka1/models/operations";

let value: CreateChatCompletionStreamToolCalls = {
  id: "<id>",
  function: {
    name: "<value>",
    arguments: "<value>",
  },
};

Fields

FieldTypeRequiredDescription
idstring✔️The ID of the tool call
typestring✔️The type of the tool. Currently only 'function' is supported.
functionoperations.CreateChatCompletionStreamFunction✔️The function to be called