From 468e423aefe69c72f5ae38ff8c6d18a6d38a3988 Mon Sep 17 00:00:00 2001 From: Cole Medin <47287758+coleam00@users.noreply.github.com> Date: Tue, 11 Mar 2025 14:22:27 -0500 Subject: [PATCH] Couple small corrections --- .env.example | 2 +- n8n/backup/workflows/V3_Local_Agentic_RAG_AI_Agent.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 902fc56..aafd668 100644 --- a/.env.example +++ b/.env.example @@ -20,7 +20,7 @@ SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJzZX DASHBOARD_USERNAME=supabase DASHBOARD_PASSWORD=this_password_is_insecure_and_should_be_updated SECRET_KEY_BASE=UpNVntn3cDxHJpq99YMc1T1AQgQpc8kfYTuRgBiYa15BLrx8etQoXz3gZv1/u2oq -VAULT_ENC_KEY=your-encryption-key-32-chars-min +VAULT_ENC_KEY=your-encryption-key-32-chars-exactly ############ diff --git a/n8n/backup/workflows/V3_Local_Agentic_RAG_AI_Agent.json b/n8n/backup/workflows/V3_Local_Agentic_RAG_AI_Agent.json index 11c658b..65b1343 100644 --- a/n8n/backup/workflows/V3_Local_Agentic_RAG_AI_Agent.json +++ b/n8n/backup/workflows/V3_Local_Agentic_RAG_AI_Agent.json @@ -546,7 +546,7 @@ "descriptionType": "manual", "toolDescription": "Given a file ID, fetches the text from the document.", "operation": "executeQuery", - "query": "SELECT \n string_agg(content, ' ') as document_text\nFROM documents_pg\n WHERE metadata->>'file_id' = $1\nGROUP BY metadata->>'file_id';", + "query": "SELECT \n string_agg(text, ' ') as document_text\nFROM documents_pg\n WHERE metadata->>'file_id' = $1\nGROUP BY metadata->>'file_id';", "options": { "queryReplacement": "={{ $fromAI('file_id') }}" }