Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/openai/resources/beta/vector-stores/mod.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.5/resources/beta/vector-stores/mod.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.5/resources/beta/vector-stores/mod.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.

usage_bytes: number

The total vector store usage in bytes. Note that this may be different from the original file size.

vector_store_id: string

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