Search Results for

    Show / Hide Table of Contents

    Class WebSearch

    Search the Internet for sources related to the prompt.

    Inheritance
    object
    Tool
    WebSearch
    Inherited Members
    Tool.Type
    Tool.TryGetToolName(out string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public sealed class WebSearch : Tool

    Properties

    | Edit this page View Source

    Filters

    Optional. Filters for the search.

    Declaration
    [JsonProperty("filters")]
    public WebSearchFilter Filters { get; set; }
    Property Value
    Type Description
    WebSearchFilter
    | Edit this page View Source

    SearchContextSize

    Optional. High level guidance for the amount of context window space to use for the search.

    Declaration
    [JsonProperty("search_context_size")]
    public SearchContextSize? SearchContextSize { get; set; }
    Property Value
    Type Description
    SearchContextSize?
    | Edit this page View Source

    UserLocation

    Optional. The approximate location of the user.

    Declaration
    [JsonProperty("user_location")]
    public Location UserLocation { get; set; }
    Property Value
    Type Description
    Location

    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