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

x/openai/resources/beta/vector-stores/file-batches.ts>VectorStoreFileBatch

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

A batch 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 files batch was created.

object: "vector_store.files_batch"

The object type, which is always vector_store.file_batch.

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

The status of the vector store files batch, which can be either in_progress, completed, cancelled or failed.

vector_store_id: string

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