Optional
finish_The reason why the call stopped, can be one of:
stop
- The model hit a natural stop point or a provided stop sequence.length
- The maximum number of tokens specified in the request was reached.tool_calls
- The model called a tool.null
- API response still in progress or incomplete.Optional
indexThe index of this result.
Optional
messageA message result.
A tool related result.