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.51.0/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.

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

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 default strategy. This strategy currently uses a max_chunk_size_tokens of 800 and chunk_overlap_tokens of 400.

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.

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 batch of files attached to a vector store.

The expiration policy for a vector store.