Actions7
Update Document
AI-generatedSummary
Update an existing document in the Oracle Vector Store collection by its ID, allowing modification of the content, embedding, or metadata fields. The operation requires the collection name and document ID, and expects input data containing at least one of content, embedding, or metadata. On success, it returns an array with a single object indicating success, the document ID, the number of rows affected, and the operation type.
Inputs
- collectionName — Name of the collection (table) in the Oracle database where the document is stored. Default: 'VECTOR_STORE'. Type: string.
- documentId (required) — ID of the document to update. Must be provided. Type: string.
- inputData (required) — The data to update. At least one of the following fields must be present in the first input item: content (string), embedding (array of numbers), metadata (object). Type: object.
Output shape
Array of one object with fields: success (boolean), documentId (string), rowsAffected (number), operation (string, fixed to 'updateDocument')
On error, the node throws and no output is returned.