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

x/openai/resources/beta/assistants.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.61.1/resources/beta/assistants.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.61.1/resources/beta/assistants.ts";

Properties

type: "file_search"

The type of tool being defined: file_search