Completion_Choice

struct

A choice generated by the chat completion model.

Property Type Description
finish_reason String

The reason the model stopped generating tokens: stop, length, content_filter, tool_calls, insufficient_system_resource or aborted.

index Integer

The index of the choice in the list of choices.

logprobs Completion_Choice_Logprobs

Log probability information for the choice.

message Completion_Message_Assistant

A chat completion message generated by the model.

part of the Apioo-Project