Show / Hide Table of Contents

Class StreamOptions

Options for streaming response. Only set this when you set stream: true.

Inheritance
object
StreamOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

In this article
Back to top