interface ChatCompletionFunctionMessageParam {
    content: null | string;
    name: string;
    role: "function";
}

Properties

Properties

content: null | string

The contents of the function message.

name: string

The name of the function to call.

role: "function"

The role of the messages author, in this case function.