Search Results for

    Show / Hide Table of Contents

    Class BatchRequestInput

    The per-line object of the batch input file

    Inheritance
    object
    BatchRequestInput
    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 BatchRequestInput

    Properties

    | Edit this page View Source

    CustomId

    A developer-provided per-request id that will be used to match outputs to inputs. Must be unique for each request in a batch.

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

    Method

    The HTTP method to be used for the request. Currently only POST is supported.

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

    Url

    The OpenAI API relative URL to be used for the request. Currently, /v1/chat/completions, /v1/embeddings, and /v1/completions are supported.

    Declaration
    [JsonProperty("url")]
    public string Url { get; set; }
    Property Value
    Type Description
    string

    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