Skip to content

OpenAIWebSearchPreviewToolOptions

Namespace: Vercel.AI.OpenAI

public sealed class OpenAIWebSearchPreviewToolOptions

Options of WebSearchPreview(OpenAIWebSearchPreviewToolOptions).

Inheritance: object

View source

public string? SearchContextSize { get; set; }

Search context size: low, medium, or high.

Value: string

View source

public OpenAIApproximateLocation? UserLocation { get; set; }

Approximate user location.

Value: OpenAIApproximateLocation

View source

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