Table of Contents

Struct ServiceTier

Namespace
Glitch9.AIDevKit

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.

[Serializable]
public readonly struct ServiceTier : IStringWrapper, IEquatable<ServiceTier>
Implements
IStringWrapper
IEquatable<ServiceTier>

Constructors

ServiceTier(string)

public ServiceTier(string value)

Parameters

value string

Fields

Anthropic_StandardOnly

public const string Anthropic_StandardOnly = "standard_only"

Field Value

string

Auto

public const string Auto = "auto"

Field Value

string

GroqCloud_Flex

public const string GroqCloud_Flex = "flex"

Field Value

string

GroqCloud_OnDemand

public const string GroqCloud_OnDemand = "on_demand"

Field Value

string

GroqCloud_Performance

public const string GroqCloud_Performance = "performance"

Field Value

string

OpenAI_Default

public const string OpenAI_Default = "default"

Field Value

string

OpenAI_Flex

public const string OpenAI_Flex = "flex"

Field Value

string

Properties

Value

public string Value { get; }

Property Value

string

Methods

Equals(ServiceTier)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ServiceTier other)

Parameters

other ServiceTier

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

GetInspectorName()

public string GetInspectorName()

Returns

string

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

implicit operator string(ServiceTier)

public static implicit operator string(ServiceTier size)

Parameters

size ServiceTier

Returns

string

implicit operator ServiceTier(string)

public static implicit operator ServiceTier(string value)

Parameters

value string

Returns

ServiceTier