class AddedDocumentResponse implements HasProviderId

Methods

__construct(string $id, string|null $fileId = null)

Create an added document response.

string
id()

Get the provider document ID for the file that was added to the vector store.

string|null
fileId()

Get the provider ID for the file that was stored for later reference, if applicable.

Details

at line 14
__construct(string $id, string|null $fileId = null)

Create an added document response.

Parameters

string $id
string|null $fileId

at line 23
string id()

Get the provider document ID for the file that was added to the vector store.

Return Value

string

at line 31
string|null fileId()

Get the provider ID for the file that was stored for later reference, if applicable.

Return Value

string|null