Search Results for

    Show / Hide Table of Contents

    Class HttpResponse

    Inheritance
    object
    HttpResponse
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.OpenAI
    Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
    Syntax
    public class HttpResponse

    Properties

    | Edit this page View Source

    Body

    The JSON body of the response

    Declaration
    [JsonProperty("body")]
    public JObject Body { get; set; }
    Property Value
    Type Description
    JObject
    | Edit this page View Source

    RequestId

    An unique identifier for the OpenAI API request. Please include this request ID when contacting support.

    Declaration
    [JsonProperty("request_id")]
    public string RequestId { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    StatusCode

    The HTTP status code of the response

    Declaration
    [JsonProperty("status_code")]
    public int StatusCode { get; set; }
    Property Value
    Type Description
    int

    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)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation