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

x/openai/resources/beta/mod.ts>ThreadCreateAndRunParams.Thread.ToolResources.FileSearch.VectorStore

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

Properties

optional
chunking_strategy: VectorStoresAPI.FileChunkingStrategyParam

The chunking strategy used to chunk the file(s). If not set, will use the auto strategy. Only applicable if file_ids is non-empty.

optional
file_ids: Array<string>

A list of file IDs to add to the vector store. There can be a maximum of 10000 files in a vector store.

optional
metadata: unknown

Set of 16 key-value pairs that can be attached to a vector store. This can be useful for storing additional information about the vector store in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long.