Skip to content

CreateChatCompletionStreamTools

A tool the model may call while generating a response.

Example Usage

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

let value: CreateChatCompletionStreamTools = {
  function: {
    name: "<value>",
  },
};

Fields

FieldTypeRequiredDescription
typestring✔️The type of the tool. Currently only 'function' is supported.
functionoperations.CreateChatCompletionStreamLlmChatFunction✔️The function definition