Parses the chunk response and returns the choice by index.
The index of the choice to find.
An LLMChoiceStreaming object associated with the index.
Gets the citations from the chunk response. Citations are returned by models like Perplexity Sonar that provide source references.
The citations, or undefined if there are none.
Parses the chunk response and returns the delta content.
OptionalchoiceIndex: number
The index of the choice to parse.
The message delta content.
Parses the chunk response and returns the incremental reasoning content delta for this chunk. Returns only the user-visible reasoning text; encrypted or redacted reasoning blocks are excluded. To get the fully accumulated reasoning content after streaming completes, use getReasoningContent on the stream response instead.
OptionalchoiceIndex: number
The index of the choice to parse.
The content of each reasoning block delta as an array, or undefined if not present.
Gets the delta tool calls for a specific choice index.
OptionalchoiceIndex: number
The index of the choice to parse.
The delta tool calls for the specified choice index.
Reason for stopping the completion stream chunk.
OptionalchoiceIndex: number
The index of the choice to parse.
The finish reason.
Gets the intermediate results from the chunk.
The intermediate results.
Usage of tokens in the chunk response.
Token usage.
Orchestration stream chunk response.