Search Results for

    Show / Hide Table of Contents

    Class ResponseQuery

    Inheritance
    object
    ResponseQuery
    Implements
    IRequestParameterProvider
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Responses
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public sealed class ResponseQuery : IRequestParameterProvider

    Properties

    | Edit this page View Source

    Include

    Optional. Additional fields to include in the response. See the include parameter for Response creation above for more information.

    Declaration
    public OutputDataList Include { get; set; }
    Property Value
    Type Description
    OutputDataList
    | Edit this page View Source

    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.

    Declaration
    public bool? IncludeObfuscation { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    StartingAfter

    Optional. The sequence number of the event after which to start streaming.

    Declaration
    public int? StartingAfter { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    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.

    Declaration
    public bool? Stream { get; set; }
    Property Value
    Type Description
    bool?

    Methods

    | Edit this page View Source

    GetRequestParameters()

    Declaration
    public IEnumerable<RequestParameter> GetRequestParameters()
    Returns
    Type Description
    IEnumerable<RequestParameter>

    Implements

    IRequestParameterProvider

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    ResponseCastingExtensions.ToParams(IRequestParameterProvider)
    ResponseCastingExtensions.ToParams(IRequestParameterProvider, params RequestParameter[])
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation