Skip to Content
Anuma SDKClientInternalType AliasesOpenaiChatCompletionMessage

OpenaiChatCompletionMessage

OpenaiChatCompletionMessage = object

Defined in: src/client/types.gen.ts:3220 

A chat completion message generated by the model.

Properties

annotations?

optional annotations: OpenaiChatCompletionMessageAnnotation[]

Defined in: src/client/types.gen.ts:3225 

Annotations for the message, when applicable, as when using the web search tool .


audio?

optional audio: OpenaiChatCompletionAudio

Defined in: src/client/types.gen.ts:3226 


content?

optional content: string

Defined in: src/client/types.gen.ts:3230 

The contents of the message.


function_call?

optional function_call: OpenaiChatCompletionMessageFunctionCall

Defined in: src/client/types.gen.ts:3231 


refusal?

optional refusal: string

Defined in: src/client/types.gen.ts:3235 

The refusal message generated by the model.


role?

optional role: string

Defined in: src/client/types.gen.ts:3239 

The role of the author of this message.


tool_calls?

optional tool_calls: OpenaiChatCompletionMessageToolCall[]

Defined in: src/client/types.gen.ts:3243 

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

Last updated on