Learn R Programming

openaiRtools (version 0.2.2)

VectorStoreFilesClient: Vector Store Files Client

Description

Manages individual files within a vector store. Adding a file triggers automatic chunking and embedding. Access via client$vector_stores$files.

Arguments

Methods


Method new()

Usage

VectorStoreFilesClient$new(parent)


Method create()

Usage

VectorStoreFilesClient$create(
  vector_store_id,
  file_id,
  chunking_strategy = NULL
)


Method list()

Usage

VectorStoreFilesClient$list(
  vector_store_id,
  limit = NULL,
  order = NULL,
  after = NULL,
  before = NULL,
  filter = NULL
)


Method retrieve()

Usage

VectorStoreFilesClient$retrieve(vector_store_id, file_id)


Method update()

Usage

VectorStoreFilesClient$update(vector_store_id, file_id, attributes = NULL)


Method delete()

Usage

VectorStoreFilesClient$delete(vector_store_id, file_id)


Method content()

Usage

VectorStoreFilesClient$content(vector_store_id, file_id)


Method clone()

The objects of this class are cloneable with this method.

Usage

VectorStoreFilesClient$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.