Skip to main content
Module

x/openai/resources/beta/threads/runs/mod.ts>FileSearchToolCall.FileSearch.RankingOptions

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface FileSearchToolCall.FileSearch.RankingOptions
import { type FileSearchToolCall } from "https://deno.land/x/openai@v4.58.1/resources/beta/threads/runs/mod.ts";
const { RankingOptions } = FileSearchToolCall.FileSearch;

The ranking options for the file search.

Properties

ranker: "default_2024_08_21"

The ranker used for the file search.

score_threshold: number

The score threshold for the file search. All values must be a floating point number between 0 and 1.