Skip to content

XaiWebSearchOptions

Namespace: Vercel.AI.Xai

public sealed class XaiWebSearchOptions

Arguments of String). Maps to webSearchArgsSchema.

Inheritance: object

View source

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

Domains to search. At most 5.

Value: IReadOnlyList<string>

View source

public bool? EnableImageSearch { get; init; }

Whether the tool searches for images.

Value: bool?

View source

public bool? EnableImageUnderstanding { get; init; }

Whether the tool understands the images it finds.

Value: bool?

View source

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

Domains to leave out. At most 5.

Value: IReadOnlyList<string>

View source

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