Search Results for

    Show / Hide Table of Contents

    Class XWebSearch

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

    Properties

    | Edit this page View Source

    AllowedDomains

    Optional. List of website domains to allow in the search results. This parameter act as a whitelist where only those websites can be selected. A maximum of 5 websites can be selected. Note: This parameter cannot be set with excluded_domains.

    Declaration
    [JsonProperty("allowed_domains")]
    public List<string> AllowedDomains { get; set; }
    Property Value
    Type Description
    List<string>
    | Edit this page View Source

    EnableImageUnderstanding

    Optional. Enable image understanding during web search.

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

    ExcludedDomains

    Optional. List of website domains to exclude from the search results without protocol specification or subdomains. A maximum of 5 websites can be excluded. Note: This parameter cannot be set with allowed_domains

    Declaration
    [JsonProperty("excluded_domains")]
    public List<string> ExcludedDomains { get; set; }
    Property Value
    Type Description
    List<string>
    | Edit this page View Source

    Type

    Required. The logical type of the tool. The serialized string is resolved by API settings (ApiPolicy.TryGetToolTypeString).

    Declaration
    [JsonProperty("type")]
    public override ToolType Type { get; }
    Property Value
    Type Description
    ToolType
    Overrides
    Tool.Type

    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