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

x/openai/resources/beta/vector-stores/vector-stores.ts

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Latest
import * as openai from "https://deno.land/x/openai@v4.69.0/resources/beta/vector-stores/vector-stores.ts";

Interfaces

The default strategy. This strategy currently uses a max_chunk_size_tokens of 800 and chunk_overlap_tokens of 400.

This is returned when the chunking strategy is unknown. Typically, this is because the file was indexed before the chunking_strategy concept was introduced in the API.

A vector store is a collection of processed files can be used by the file_search tool.

The expiration policy for a vector store.

The expiration policy for a vector store.

The expiration policy for a vector store.

Type Aliases

The strategy used to chunk the file.

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.