VectorStoreFileRequest

@Serializable
class VectorStoreFileRequest(val fileId: FileId? = null)

A request to create a vector store file by attaching a File to a vector store.

Constructors

Link copied to clipboard
constructor(fileId: FileId? = null)

Properties

Link copied to clipboard
@SerialName(value = "file_id")
val fileId: FileId? = null

A File ID that the vector store should use. Useful for tools like file_search that can access files.