Search Results for

    Show / Hide Table of Contents

    Class AIClient<TSelf, TSettings>

    Inheritance
    object
    RESTClient
    ApiClient<TSelf, Api, TSettings>
    AIClient<TSelf, TSettings>
    AI21LabsClient
    AwsClient
    AnthropicClient
    CohereClient
    DeepSeekClient
    ElevenLabsClient
    GoogleAIClient
    GroqCloudClient
    LMStudioClient
    MicrosoftAzureClient
    MistralClient
    OllamaClient
    OpenAIClient
    OpenRouterClient
    PerplexityClient
    ReplicateClient
    SherpaOnnxClient
    StabilityClient
    XAIClient
    Implements
    IApiClient
    Inherited Members
    ApiClient<TSelf, Api, TSettings>.DefaultInstance
    ApiClient<TSelf, Api, TSettings>.Name
    ApiClient<TSelf, Api, TSettings>.BaseUrl
    ApiClient<TSelf, Api, TSettings>.Api
    ApiClient<TSelf, Api, TSettings>.BaseRequestParameters
    ApiClient<TSelf, Api, TSettings>.AdditionalHeaders
    ApiClient<TSelf, Api, TSettings>.RequiresApiKey
    ApiClient<TSelf, Api, TSettings>.Settings
    ApiClient<TSelf, Api, TSettings>.GetContractResolver()
    ApiClient<TSelf, Api, TSettings>.GetClientSettings()
    ApiClient<TSelf, Api, TSettings>.CreateBaseRequestParameters()
    ApiClient<TSelf, Api, TSettings>.CreateAdditionalHeaders()
    ApiClient<TSelf, Api, TSettings>.CreateJsonConverters()
    ApiClient<TSelf, Api, TSettings>.POSTAsync<TBody, TResponse>(ICrudService, string, TBody, RequestOptions, params RequestParameter[])
    ApiClient<TSelf, Api, TSettings>.POSTAsync<TBody>(ICrudService, string, TBody, RequestOptions, params RequestParameter[])
    ApiClient<TSelf, Api, TSettings>.POSTAsync<TResponse>(ICrudService, string, RequestOptions, params RequestParameter[])
    ApiClient<TSelf, Api, TSettings>.GETAsync(ICrudService, string, RequestOptions, params RequestParameter[])
    ApiClient<TSelf, Api, TSettings>.GETAsync<TResponse>(ICrudService, string, RequestOptions, params RequestParameter[])
    ApiClient<TSelf, Api, TSettings>.PUTAsync<TBody>(ICrudService, string, TBody, RequestOptions, params RequestParameter[])
    ApiClient<TSelf, Api, TSettings>.PATCHAsync<TResponse>(ICrudService, string, RequestOptions, params RequestParameter[])
    ApiClient<TSelf, Api, TSettings>.DELETEAsync<TBody, TStatus>(ICrudService, string, TBody, RequestOptions, params RequestParameter[])
    ApiClient<TSelf, Api, TSettings>.DELETEAsync<TStatus>(ICrudService, string, RequestOptions, params RequestParameter[])
    ApiClient<TSelf, Api, TSettings>.DELETEAsync(ICrudService, string, RequestOptions, params RequestParameter[])
    ApiClient<TSelf, Api, TSettings>.STREAMAsync<TBody, TDelta, TResult>(ICrudService, string, TBody, RequestOptions, IStreamPipeline<string, TDelta, TResult>, params RequestParameter[])
    ApiClient<TSelf, Api, TSettings>.STREAMAsync<TBody, TDelta, TResult>(ICrudService, string, TBody, RequestOptions, IStreamPipeline<PooledBytes, TDelta, TResult>, params RequestParameter[])
    ApiClient<TSelf, Api, TSettings>.STREAMAsync<TDelta, TResult>(ICrudService, string, RequestOptions, IStreamPipeline<string, TDelta, TResult>, params RequestParameter[])
    ApiClient<TSelf, Api, TSettings>.STREAMAsync<TDelta, TResult>(ICrudService, string, RequestOptions, IStreamPipeline<PooledBytes, TDelta, TResult>, params RequestParameter[])
    ApiClient<TSelf, Api, TSettings>.DownloadAsync(ICrudService, string, RequestOptions, params RequestParameter[])
    ApiClient<TSelf, Api, TSettings>.ValidateAuthAsync()
    ApiClient<TSelf, Api, TSettings>.ValidateEndpointAsync(string)
    RESTClient.Jss
    RESTClient.Xss
    RESTClient.Logger
    RESTClient.LogOptions
    RESTClient.Timeout
    RESTClient.ExceptionParser
    RESTClient.ExceptionHandler
    RESTClient.MaxRetryCount
    RESTClient.RetryDelaySeconds
    RESTClient.MaxRetryDelaySeconds
    RESTClient.DefaultFileMimeType
    RESTClient.DefaultDownloadDirectoryPath
    RESTClient.m_Settings
    RESTClient.SetOnetimeLogOptions(CurlLogOptions)
    RESTClient.POSTAsync(RESTRequest)
    RESTClient.POSTAsync<T>(RESTRequest)
    RESTClient.PUTAsync(RESTRequest)
    RESTClient.PUTAsync<T>(RESTRequest)
    RESTClient.GETAsync<T>(RESTRequest)
    RESTClient.GETAsync(RESTRequest)
    RESTClient.DELETEAsync<T>(RESTRequest)
    RESTClient.DELETEAsync(RESTRequest)
    RESTClient.HEADAsync(RESTRequest)
    RESTClient.HEADAsync<T>(RESTRequest)
    RESTClient.PATCHAsync(RESTRequest)
    RESTClient.PATCHAsync<T>(RESTRequest)
    RESTClient.STREAMAsync<TDelta, TResult>(RESTRequest, IStreamPipeline<string, TDelta, TResult>, string)
    RESTClient.STREAMAsync<TDelta, TResult>(RESTRequest, IStreamPipeline<PooledBytes, TDelta, TResult>, string)
    RESTClient.DOWNLOADAsync(RESTRequest)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public abstract class AIClient<TSelf, TSettings> : ApiClient<TSelf, Api, TSettings>, IApiClient where TSelf : AIClient<TSelf, TSettings>, new() where TSettings : AIClientSettings
    Type Parameters
    Name Description
    TSelf
    TSettings

    Constructors

    | Edit this page View Source

    AIClient(Api)

    Declaration
    protected AIClient(Api api)
    Parameters
    Type Name Description
    Api api

    Methods

    | Edit this page View Source

    CreateJsonConverters()

    Override this to add more JsonConverters.

    Declaration
    protected override List<JsonConverter> CreateJsonConverters()
    Returns
    Type Description
    List<JsonConverter>
    Overrides
    ApiClient<TSelf, Api, TSettings>.CreateJsonConverters()
    | Edit this page View Source

    GetClientSettings()

    Declaration
    protected override TSettings GetClientSettings()
    Returns
    Type Description
    TSettings
    Overrides
    ApiClient<TSelf, Api, TSettings>.GetClientSettings()
    | Edit this page View Source

    GetContractResolver()

    Declaration
    protected override IContractResolver GetContractResolver()
    Returns
    Type Description
    IContractResolver
    Overrides
    ApiClient<TSelf, Api, TSettings>.GetContractResolver()
    | Edit this page View Source

    GetVersion(string)

    Declaration
    public virtual string GetVersion(string arg = null)
    Parameters
    Type Name Description
    string arg
    Returns
    Type Description
    string
    | Edit this page View Source

    ResolveApiKey(string)

    Declaration
    public virtual string ResolveApiKey(string arg = null)
    Parameters
    Type Name Description
    string arg
    Returns
    Type Description
    string
    | Edit this page View Source

    ResolveBetaVersion(string)

    Declaration
    public virtual string ResolveBetaVersion(string arg = null)
    Parameters
    Type Name Description
    string arg
    Returns
    Type Description
    string

    Implements

    IApiClient

    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