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

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

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
import * as openai from "https://deno.land/x/openai@v4.67.1/resources/beta/vector-stores/mod.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.

A list of files attached to a vector store.

The last error associated with this vector store file. Will be null if there are no errors.

A batch of files attached to 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.