ChatRequestFunctionMessage interface

A request chat message representing requested output from a configured function.

Extends

Properties

content

The output of the function as requested by the function call.

name

The name of the function that was called to produce output.

role

The chat role associated with this message, which is always 'function' for function messages.

Property Details

content

The output of the function as requested by the function call.

content: null | string

Property Value

null | string

name

The name of the function that was called to produce output.

name: string

Property Value

string

role

The chat role associated with this message, which is always 'function' for function messages.

role: "function"

Property Value

"function"