Class StreamOptions
Options for streaming response. Only set this when you set stream: true.
Inherited Members
Namespace: Oci.GenerativeaiinferenceService.Models
Assembly: OCI.DotNetSDK.Generativeaiinference.dll
Syntax
public class StreamOptions
Properties
IsIncludeUsage
Declaration
[JsonProperty(PropertyName = "isIncludeUsage")]
public bool? IsIncludeUsage { get; set; }
Property Value
Type | Description |
---|---|
bool? | If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage statistics for the entire request |