Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/beta/threads/runs/steps.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.60.0/resources/beta/threads/runs/steps.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.