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

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

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

Properties

optional
chunking_strategy: VectorStore.Auto | VectorStore.Static

The chunking strategy used to chunk the file(s). If not set, will use the auto strategy.

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.