Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.38.5/resources/beta/assistants.ts";
const { FileSearch } = AssistantCreateParams.ToolResources;
interface AssistantCreateParams.ToolResources.FileSearch
import { type AssistantCreateParams } from "https://deno.land/x/openai@v4.38.5/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.