Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
namespace ThreadCreateAndRunStreamParams.Thread.ToolResources.FileSearch
import { ThreadCreateAndRunStreamParams } from "https://deno.land/x/openai@v4.38.5/resources/beta/threads/mod.ts";
const { FileSearch } = ThreadCreateAndRunStreamParams.Thread.ToolResources;
interface ThreadCreateAndRunStreamParams.Thread.ToolResources.FileSearch
import { type ThreadCreateAndRunStreamParams } from "https://deno.land/x/openai@v4.38.5/resources/beta/threads/mod.ts";
const { FileSearch } = ThreadCreateAndRunStreamParams.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.