Skip to content

@ralphschuler.ai function caller.index.<internal>.OpenAI.Chat.Completions.ChatCompletionMessage

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: ChatCompletionMessage

Chat.Completions.ChatCompletionMessage

A chat completion message generated by the model.

Table of contents

Properties

Properties

content

content: null | string

The contents of the message.

Defined in

node_modules/openai/resources/chat/completions.d.ts:296


function_call

Optional function_call: FunctionCall

Deprecated and replaced by tool_calls. The name and arguments of a function that should be called, as generated by the model.

Defined in

node_modules/openai/resources/chat/completions.d.ts:305


role

role: "assistant"

The role of the author of this message.

Defined in

node_modules/openai/resources/chat/completions.d.ts:300


tool_calls

Optional tool_calls: ChatCompletionMessageToolCall[]

The tool calls generated by the model, such as function calls.

Defined in

node_modules/openai/resources/chat/completions.d.ts:309

Typescript Libraries

Modules

Namespaces

Clone this wiki locally