VectorStoreFilesBatch R6 class
VectorStoreFilesBatch R6 class
Public fields
id
Character. The ID of the file batch.
created_at
POSIXct. The date and time the file batch was created.
vector_store_id
Character. The ID of the vector store where the file batch was created.
status
Character. The status of the file batch.
file_counts
List. The number of files in the batch.
Methods
Method new()
Initialize a VectorStoreFilesBatch object. The ...
argument is passed to the API functions.
Usage
VectorStoreFilesBatch$new(
vector_store_id = NULL,
batch_id = NULL,
file_ids = NULL,
paths = NULL,
...,
resp = NULL
)
Arguments
vector_store_id
Character. The ID of the vector store where the file batch will be created.
batch_id
Character. The ID of the batch to retrieve.
file_ids
Character. A vector of file IDs to include in the batch.
paths
Character. A vector of file paths to include in the batch.
...
Additional arguments passed to the API functions.
resp
List. The response from the API.
Method list_files()
List all files in the file batch. The ...
argument is passed to oai_list_vector_store_files()
.
Method print()
Print the file batch.