OpenAIWebSearchToolOptions
Namespace: Vercel.AI.OpenAI
public sealed class OpenAIWebSearchToolOptionsOptions of WebSearch(OpenAIWebSearchToolOptions).
Inheritance: object
Properties
Section titled “Properties”AllowedDomains
Section titled “AllowedDomains”public IReadOnlyList<string>? AllowedDomains { get; set; }Domains the search may use.
Value: IReadOnlyList<string>
BlockedDomains
Section titled “BlockedDomains”public IReadOnlyList<string>? BlockedDomains { get; set; }Domains the search must not use.
Value: IReadOnlyList<string>
ExternalWebAccess
Section titled “ExternalWebAccess”public bool? ExternalWebAccess { get; set; }Whether the tool may reach the live web.
Value: bool?
SearchContextSize
Section titled “SearchContextSize”public string? SearchContextSize { get; set; }Search context size: low, medium, or high.
Value: string
UserLocation
Section titled “UserLocation”public OpenAIApproximateLocation? UserLocation { get; set; }Approximate user location.
Value: OpenAIApproximateLocation
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product