Search Results for

    Show / Hide Table of Contents

    Struct ServiceTier

    The service tier to use for the request. "auto" lets the system choose the appropriate tier based on context. Different providers may have different tier names and meanings. See provider documentation for details.

    Implements
    IStringWrapper
    IEquatable<ServiceTier>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    [Serializable]
    [JsonConverter(typeof(ServiceTierJsonConverter))]
    public readonly struct ServiceTier : IStringWrapper, IEquatable<ServiceTier>

    Constructors

    | Edit this page View Source

    ServiceTier(string)

    Declaration
    public ServiceTier(string value)
    Parameters
    Type Name Description
    string value

    Fields

    | Edit this page View Source

    Anthropic_StandardOnly

    Declaration
    public const string Anthropic_StandardOnly = "standard_only"
    Field Value
    Type Description
    string
    | Edit this page View Source

    Auto

    Declaration
    public const string Auto = "auto"
    Field Value
    Type Description
    string
    | Edit this page View Source

    Bedrock_Default

    Declaration
    public const string Bedrock_Default = "default"
    Field Value
    Type Description
    string
    | Edit this page View Source

    Bedrock_Flex

    Declaration
    public const string Bedrock_Flex = "flex"
    Field Value
    Type Description
    string
    | Edit this page View Source

    Bedrock_Priority

    Declaration
    public const string Bedrock_Priority = "priority"
    Field Value
    Type Description
    string
    | Edit this page View Source

    GroqCloud_Flex

    Declaration
    public const string GroqCloud_Flex = "flex"
    Field Value
    Type Description
    string
    | Edit this page View Source

    GroqCloud_OnDemand

    Declaration
    public const string GroqCloud_OnDemand = "on_demand"
    Field Value
    Type Description
    string
    | Edit this page View Source

    GroqCloud_Performance

    Declaration
    public const string GroqCloud_Performance = "performance"
    Field Value
    Type Description
    string
    | Edit this page View Source

    OpenAI_Default

    Declaration
    public const string OpenAI_Default = "default"
    Field Value
    Type Description
    string
    | Edit this page View Source

    OpenAI_Flex

    Declaration
    public const string OpenAI_Flex = "flex"
    Field Value
    Type Description
    string

    Properties

    | Edit this page View Source

    Value

    Declaration
    public string Value { get; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    Equals(ServiceTier)

    Declaration
    public bool Equals(ServiceTier other)
    Parameters
    Type Name Description
    ServiceTier other
    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()
    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    Operators

    | Edit this page View Source

    implicit operator string(ServiceTier)

    Declaration
    public static implicit operator string(ServiceTier size)
    Parameters
    Type Name Description
    ServiceTier size
    Returns
    Type Description
    string
    | Edit this page View Source

    implicit operator ServiceTier(string)

    Declaration
    public static implicit operator ServiceTier(string value)
    Parameters
    Type Name Description
    string value
    Returns
    Type Description
    ServiceTier

    Implements

    IStringWrapper
    IEquatable<T>

    Extension Methods

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