Search Results for

    Show / Hide Table of Contents

    Class WebSearchPrice

    Represents per-search pricing for models that include web search capability.

    Inheritance
    object
    ModelPrice
    WebSearchPrice
    Inherited Members
    ModelPrice.Type
    ModelPrice.CostInUsd
    ModelPrice.m_TypeNameCache
    ModelPrice.Free()
    ModelPrice.PerCharacter(double)
    ModelPrice.PerRequest(double)
    ModelPrice.PerMinute(double, bool)
    ModelPrice.PerInputToken(double)
    ModelPrice.PerImage(double)
    ModelPrice.PerIO(double, double)
    ModelPrice.PerICO(double, double, double)
    ModelPrice.GetTypeName()
    ModelPrice.CalcCostInUsd(double)
    ModelPrice.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    [Serializable]
    public class WebSearchPrice : ModelPrice

    Constructors

    | Edit this page View Source

    WebSearchPrice()

    Declaration
    public WebSearchPrice()
    | Edit this page View Source

    WebSearchPrice(SearchContextSize, double)

    Declaration
    public WebSearchPrice(SearchContextSize contextSize, double cost)
    Parameters
    Type Name Description
    SearchContextSize contextSize
    double cost
    | Edit this page View Source

    WebSearchPrice(double)

    Declaration
    public WebSearchPrice(double cost)
    Parameters
    Type Name Description
    double cost

    Fields

    | Edit this page View Source

    contextSize

    The search context size tier this price applies to.

    Declaration
    [SerializeField]
    [JsonProperty("contextSize")]
    public SearchContextSize contextSize
    Field Value
    Type Description
    SearchContextSize

    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