Class ResponseQuery
public sealed class ResponseQuery : IQuery
- Inheritance
-
objectResponseQuery
Properties
Include
Optional. Additional fields to include in the response. See the include parameter for Response creation above for more information.
public OutputDataList Include { get; set; }
Property Value
IncludeObfuscation
Optional. When true, stream obfuscation will be enabled. Stream obfuscation adds random characters to an obfuscation field on streaming delta events to normalize payload sizes as a mitigation to certain side-channel attacks. These obfuscation fields are included by default, but add a small amount of overhead to the data stream. You can set include_obfuscation to false to optimize for bandwidth if you trust the network links between your application and the OpenAI API.
public bool? IncludeObfuscation { get; set; }
Property Value
- bool?
StartingAfter
Optional. The sequence number of the event after which to start streaming.
public int? StartingAfter { get; set; }
Property Value
- int?
Stream
Optional. If set to true, the model response data will be streamed to the client as it is generated using server-sent events. See the Streaming section below for more information.
public bool? Stream { get; set; }
Property Value
- bool?
Methods
GetQueryParameters()
public IEnumerable<QueryParameter> GetQueryParameters()
Returns
- IEnumerable<QueryParameter>