Skip to Content
Anuma SDKClientInternalType AliasesOpenaiChatCompletionMessage

OpenaiChatCompletionMessage

OpenaiChatCompletionMessage = object

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

A chat completion message generated by the model.

Properties

annotations?

optional annotations: OpenaiChatCompletionMessageAnnotation[]

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

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


audio?

optional audio: OpenaiChatCompletionAudio

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


content?

optional content: string

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

The contents of the message.


function_call?

optional function_call: OpenaiChatCompletionMessageFunctionCall

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


refusal?

optional refusal: string

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

The refusal message generated by the model.


role?

optional role: string

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

The role of the author of this message.


tool_calls?

optional tool_calls: OpenaiChatCompletionMessageToolCall[]

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

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

Last updated on