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

x/openai/resources/beta/threads/threads.ts>ThreadCreateAndRunPollParams.Thread.ToolResources.FileSearch

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

Properties

optional
vector_store_ids: Array<string>

The vector store attached to this thread. There can be a maximum of 1 vector store attached to the thread.

optional
vector_stores: Array<FileSearch.VectorStore>

A helper to create a vector store with file_ids and attach it to this thread. There can be a maximum of 1 vector store attached to the thread.