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

x/openai/resources/beta/vector-stores/files.ts>FileCreateParams

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface FileCreateParams
import { type FileCreateParams } from "https://deno.land/x/openai@v4.61.1/resources/beta/vector-stores/files.ts";

Properties

file_id: string

A File ID that the vector store should use. Useful for tools like file_search that can access files.

optional
chunking_strategy: VectorStoresAPI.FileChunkingStrategyParam

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.