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