Skip to main content
Module

x/openai/resources/beta/mod.ts>FileSearchTool

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
namespace FileSearchTool
import { FileSearchTool } from "https://deno.land/x/openai@v4.60.0/resources/beta/mod.ts";

Interfaces

Overrides for the file search tool.

The ranking options for the file search. If not specified, the file search tool will use the auto ranker and a score_threshold of 0.

interface FileSearchTool
import { type FileSearchTool } from "https://deno.land/x/openai@v4.60.0/resources/beta/mod.ts";

Properties

type: "file_search"

The type of tool being defined: file_search