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

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

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

Properties

chunk_overlap_tokens: number

The number of tokens that overlap between chunks. The default value is 400.

Note that the overlap must not exceed half of max_chunk_size_tokens.

max_chunk_size_tokens: number

The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.

Properties

chunk_overlap_tokens: number

The number of tokens that overlap between chunks. The default value is 400.

Note that the overlap must not exceed half of max_chunk_size_tokens.

max_chunk_size_tokens: number

The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.