Skip to content

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

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

Interface: ChatCompletionAssistantMessageParam

Chat.Completions.ChatCompletionAssistantMessageParam

Table of contents

Properties

Properties

content

content: null | string

The contents of the assistant message.

Defined in

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


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:88


role

role: "assistant"

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

Defined in

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


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:92

Typescript Libraries

Modules

Namespaces

Clone this wiki locally