first commit
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled

This commit is contained in:
2026-03-17 16:22:57 +03:30
commit 3d5eaf9445
15349 changed files with 2847338 additions and 0 deletions
@@ -0,0 +1,138 @@
import type { INodeProperties } from 'n8n-workflow';
export const pineconeIndexRLC: INodeProperties = {
displayName: 'Pinecone Index',
name: 'pineconeIndex',
type: 'resourceLocator',
default: { mode: 'list', value: '' },
required: true,
modes: [
{
displayName: 'From List',
name: 'list',
type: 'list',
typeOptions: {
searchListMethod: 'pineconeIndexSearch',
},
},
{
displayName: 'ID',
name: 'id',
type: 'string',
},
],
};
export const supabaseTableNameRLC: INodeProperties = {
displayName: 'Table Name',
name: 'tableName',
type: 'resourceLocator',
default: { mode: 'list', value: '' },
required: true,
modes: [
{
displayName: 'From List',
name: 'list',
type: 'list',
typeOptions: {
searchListMethod: 'supabaseTableNameSearch',
},
},
{
displayName: 'ID',
name: 'id',
type: 'string',
},
],
};
export const qdrantCollectionRLC: INodeProperties = {
displayName: 'Qdrant Collection',
name: 'qdrantCollection',
type: 'resourceLocator',
default: { mode: 'list', value: '' },
required: true,
modes: [
{
displayName: 'From List',
name: 'list',
type: 'list',
typeOptions: {
searchListMethod: 'qdrantCollectionsSearch',
},
},
{
displayName: 'ID',
name: 'id',
type: 'string',
},
],
};
export const milvusCollectionRLC: INodeProperties = {
displayName: 'Milvus Collection',
name: 'milvusCollection',
type: 'resourceLocator',
default: { mode: 'list', value: '' },
required: true,
modes: [
{
displayName: 'From List',
name: 'list',
type: 'list',
typeOptions: {
searchListMethod: 'milvusCollectionsSearch',
},
},
{
displayName: 'ID',
name: 'id',
type: 'string',
},
],
};
export const weaviateCollectionRLC: INodeProperties = {
displayName: 'Weaviate Collection',
name: 'weaviateCollection',
type: 'resourceLocator',
default: { mode: 'list', value: '' },
required: true,
modes: [
{
displayName: 'From List',
name: 'list',
type: 'list',
typeOptions: {
searchListMethod: 'weaviateCollectionsSearch',
},
},
{
displayName: 'ID',
name: 'id',
type: 'string',
},
],
};
export const chromaCollectionRLC: INodeProperties = {
displayName: 'Chroma Collection',
name: 'chromaCollection',
type: 'resourceLocator',
default: { mode: 'list', value: '' },
required: true,
modes: [
{
displayName: 'From List',
name: 'list',
type: 'list',
typeOptions: {
searchListMethod: 'chromaCollectionsSearch',
},
},
{
displayName: 'ID',
name: 'id',
type: 'string',
},
],
};
@@ -0,0 +1,108 @@
import { Pinecone } from '@pinecone-database/pinecone';
import { MilvusClient } from '@zilliz/milvus2-sdk-node';
import { ApplicationError, type IDataObject, type ILoadOptionsFunctions } from 'n8n-workflow';
import type { QdrantCredential } from '../../VectorStoreQdrant/Qdrant.utils';
import { createQdrantClient } from '../../VectorStoreQdrant/Qdrant.utils';
import type { WeaviateCredential } from '../../VectorStoreWeaviate/Weaviate.utils';
import { createWeaviateClient } from '../../VectorStoreWeaviate/Weaviate.utils';
export async function pineconeIndexSearch(this: ILoadOptionsFunctions) {
const credentials = await this.getCredentials('pineconeApi');
const client = new Pinecone({
apiKey: credentials.apiKey as string,
});
const indexes = await client.listIndexes();
const results = (indexes.indexes ?? []).map((index) => ({
name: index.name,
value: index.name,
}));
return { results };
}
export async function supabaseTableNameSearch(this: ILoadOptionsFunctions) {
const credentials = await this.getCredentials('supabaseApi');
const results = [];
if (typeof credentials.host !== 'string') {
throw new ApplicationError('Expected Supabase credentials host to be a string');
}
const { paths } = (await this.helpers.requestWithAuthentication.call(this, 'supabaseApi', {
headers: {
Prefer: 'return=representation',
},
method: 'GET',
uri: `${credentials.host}/rest/v1/`,
json: true,
})) as { paths: IDataObject };
for (const path of Object.keys(paths)) {
//omit introspection path
if (path === '/') continue;
results.push({
name: path.replace('/', ''),
value: path.replace('/', ''),
});
}
return { results };
}
export async function qdrantCollectionsSearch(this: ILoadOptionsFunctions) {
const credentials = await this.getCredentials('qdrantApi');
const client = createQdrantClient(credentials as QdrantCredential);
const response = await client.getCollections();
const results = response.collections.map((collection) => ({
name: collection.name,
value: collection.name,
}));
return { results };
}
export async function milvusCollectionsSearch(this: ILoadOptionsFunctions) {
const credentials = await this.getCredentials<{
baseUrl: string;
username: string;
password: string;
}>('milvusApi');
const client = new MilvusClient({
address: credentials.baseUrl,
token: `${credentials.username}:${credentials.password}`,
});
const response = await client.listCollections();
const results = response.data.map((collection) => ({
name: collection.name,
value: collection.name,
}));
return { results };
}
export async function weaviateCollectionsSearch(this: ILoadOptionsFunctions) {
const credentials = await this.getCredentials('weaviateApi');
const client = await createWeaviateClient(credentials as WeaviateCredential);
const collections = await client.collections.listAll();
const results = collections.map((collection: { name: string }) => ({
name: collection.name,
value: collection.name,
}));
return { results };
}