Skip to content

OpenAIFileSearchToolOptions

Namespace: Vercel.AI.OpenAI

public sealed class OpenAIFileSearchToolOptions

Options of FileSearch(OpenAIFileSearchToolOptions).

Inheritance: object

View source

public OpenAIFileSearchFilter? Filters { get; set; }

A filter applied to the search.

Value: OpenAIFileSearchFilter

View source

public int? MaxNumResults { get; set; }

Maximum number of results to return.

Value: int?

View source

public string? Ranker { get; set; }

Ranker used for the search.

Value: string

View source

public double? ScoreThreshold { get; set; }

Score threshold between 0 and 1.

Value: double?

View source

public IReadOnlyList<string> VectorStoreIds { get; set; }

Ids of the vector stores to search.

Value: IReadOnlyList<string>

View source

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