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

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

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

Interfaces

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

interface VectorStoreFile
import { type VectorStoreFile } from "https://deno.land/x/openai@v4.38.3/resources/beta/vector-stores/files.ts";

A list of files attached to a vector store.

Properties

id: string

The identifier, which can be referenced in API endpoints.

created_at: number

The Unix timestamp (in seconds) for when the vector store file was created.

last_error: VectorStoreFile.LastError | null

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

object: "vector_store.file"

The object type, which is always vector_store.file.

status:
| "in_progress"
| "completed"
| "cancelled"
| "failed"

The status of the vector store file, which can be either in_progress, completed, cancelled, or failed. The status completed indicates that the vector store file is ready for use.

vector_store_id: string

The ID of the vector store that the File is attached to.