Search Results for

    Show / Hide Table of Contents

    Class WebSearchUsage

    Inheritance
    object
    UsageInfo
    WebSearchUsage
    Implements
    IEquatable<UsageInfo>
    Inherited Members
    UsageInfo.type
    UsageInfo.costInUsd
    UsageInfo.m_TypeNameCache
    UsageInfo.HasValue
    UsageInfo.GetInspectorTypeName()
    UsageInfo.Equals(UsageInfo)
    UsageInfo.Equals(object)
    UsageInfo.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public class WebSearchUsage : UsageInfo, IEquatable<UsageInfo>

    Constructors

    | Edit this page View Source

    WebSearchUsage()

    Declaration
    public WebSearchUsage()
    | Edit this page View Source

    WebSearchUsage(int, SearchContextSize)

    Declaration
    public WebSearchUsage(int numSearches, SearchContextSize contextSize)
    Parameters
    Type Name Description
    int numSearches
    SearchContextSize contextSize

    Fields

    | Edit this page View Source

    contextSize

    Declaration
    [SerializeField]
    [JsonProperty("context_size")]
    public SearchContextSize contextSize
    Field Value
    Type Description
    SearchContextSize
    | Edit this page View Source

    numSearches

    Declaration
    [SerializeField]
    [JsonProperty("num_searches")]
    public int numSearches
    Field Value
    Type Description
    int

    Methods

    | Edit this page View Source

    GetInspectorValueName()

    Declaration
    public override string GetInspectorValueName()
    Returns
    Type Description
    string
    Overrides
    UsageInfo.GetInspectorValueName()
    | Edit this page View Source

    GetKey()

    Declaration
    public override object GetKey()
    Returns
    Type Description
    object
    Overrides
    UsageInfo.GetKey()
    | Edit this page View Source

    GetUsageValue()

    Declaration
    public override int? GetUsageValue()
    Returns
    Type Description
    int?
    Overrides
    UsageInfo.GetUsageValue()
    | Edit this page View Source

    Merge(UsageInfo)

    Declaration
    public override void Merge(UsageInfo other)
    Parameters
    Type Name Description
    UsageInfo other
    Overrides
    UsageInfo.Merge(UsageInfo)
    | Edit this page View Source

    SetUsageValue(int?)

    Declaration
    public override void SetUsageValue(int? value)
    Parameters
    Type Name Description
    int? value
    Overrides
    UsageInfo.SetUsageValue(int?)

    Implements

    IEquatable<T>

    Extension Methods

    UsageCalculator.CalcCostInUsd(UsageInfo, string)
    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