Oracle AI Database Vector Store

Use the n8n Oracle AI Database Vector Store node to store documents in Oracle AI Database and retrieve relevant documents for chains, retrievers, tools, and AI agents.

Contents

Requirements

Your Oracle AI Database instance must support Oracle AI Vector Search. Create or select an Oracle credential in n8n. Connect an Oracle AI Database Embeddings sub-node when the vector store must generate embeddings.

Connect the Nodes

Use the Oracle AI Database Vector Store node in these workflow patterns:

Use the Node

The node supports these modes:

Configure Node Parameters

Configure the following fields in the selected mode:

Mode Parameters
Get Many Table Name, Prompt, and Limit.
Insert Documents Table Name.
Retrieve Documents as a vector store Table Name.
Retrieve Documents as an AI Agent tool Name, Description, Table Name, and Limit.

Use a specific tool name and description in AI Agent mode. A precise description helps the language model decide when to call the tool.

Configure Node Options

Distance Strategy

In Get Many and Retrieve Documents modes, select the distance strategy used to compare vectors:

Metadata Filter

Use metadata filters in Get Many and Retrieve Documents modes. Multiple fields entered in the n8n interface are combined with AND.

Advanced filters pass through to Oracle AI Vector Search and can include arrays, nested filters, comparison operators such as $gte, exclusion operators such as $nin, and logical operators such as $and.

Set document metadata with the document loader before inserting documents.

Review Reference Links