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

x/openai/resources/beta/assistants.ts>AssistantCreateParams.ToolResources.FileSearch

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

Properties

optional
vector_store_ids: Array<string>

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

optional
vector_stores: Array<FileSearch.VectorStore>

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