Search Results for

    Show / Hide Table of Contents

    Class WebSearchPreview

    This tool searches the web for relevant results to use in a response.

    Inheritance
    object
    Tool
    WebSearchPreview
    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 WebSearchPreview : Tool

    Properties

    | 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 user's location.

    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