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

x/openai/resources/beta/threads/threads.ts>ThreadCreateParams.ToolResources.FileSearch.VectorStore

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