Search Results for

    Show / Hide Table of Contents

    Class XSearch

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

    Properties

    | Edit this page View Source

    AllowedXHandles

    Optional. List of X Handles of the users from whom to consider the posts. Note: This parameter cannot be set with excluded_x_handles.

    Declaration
    [JsonProperty("allowed_x_handles")]
    public string[] AllowedXHandles { get; set; }
    Property Value
    Type Description
    string[]
    | Edit this page View Source

    EnableImageUnderstanding

    Optional. Enable image understanding during X search.

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

    EnableVideoUnderstanding

    Optional. Enable video understanding during X search.

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

    ExcludedXHandles

    Optional. List of X Handles of the users from whom to exclude the posts. Note: This parameter cannot be set with allowed_x_handles.

    Declaration
    [JsonProperty("excluded_x_handles")]
    public string[] ExcludedXHandles { get; set; }
    Property Value
    Type Description
    string[]
    | Edit this page View Source

    FromDate

    Optional. Date from which to consider the results in ISO-8601 YYYY-MM-DD. See https://en.wikipedia.org/wiki/ISO_8601.

    Declaration
    [JsonProperty("from_date")]
    public string FromDate { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ToDate

    Optional. Date up to which to consider the results in ISO-8601 YYYY-MM-DD. See https://en.wikipedia.org/wiki/ISO_8601.

    Declaration
    [JsonProperty("to_date")]
    public string ToDate { get; set; }
    Property Value
    Type Description
    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