Skip to content

XaiXSearchOptions

Namespace: Vercel.AI.Xai

public sealed class XaiXSearchOptions

Arguments of String). Maps to xSearchArgsSchema.

Inheritance: object

View source

public IReadOnlyList<string>? AllowedXHandles { get; init; }

X handles to search. At most 20.

Value: IReadOnlyList<string>

View source

public bool? EnableImageUnderstanding { get; init; }

Whether the tool understands images in posts.

Value: bool?

View source

public bool? EnableVideoUnderstanding { get; init; }

Whether the tool understands videos in posts.

Value: bool?

View source

public IReadOnlyList<string>? ExcludedXHandles { get; init; }

X handles to leave out. At most 20.

Value: IReadOnlyList<string>

View source

public string? FromDate { get; init; }

Start of the date range.

Value: string

View source

public string? ToDate { get; init; }

End of the date range.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product