From 76292349418bfadedb904a2bcb0c6d1466709326 Mon Sep 17 00:00:00 2001 From: bobzel Date: Fri, 21 Feb 2025 17:25:04 -0500 Subject: fixed dropping image onto image boxes. re-enabled rag tool --- src/client/views/nodes/chatbot/vectorstore/Vectorstore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/views/nodes/chatbot/vectorstore') diff --git a/src/client/views/nodes/chatbot/vectorstore/Vectorstore.ts b/src/client/views/nodes/chatbot/vectorstore/Vectorstore.ts index ef24e59bc..7027aceb4 100644 --- a/src/client/views/nodes/chatbot/vectorstore/Vectorstore.ts +++ b/src/client/views/nodes/chatbot/vectorstore/Vectorstore.ts @@ -39,7 +39,7 @@ export class Vectorstore { * @param doc_ids A function that returns a list of document IDs. */ constructor(id: string, doc_ids: () => string[]) { - const pineconeApiKey = '51738e9a-bea2-4c11-b6bf-48a825e774dc'; + const pineconeApiKey = process.env.PINECONE_API_KEY || '51738e9a-bea2-4c11-b6bf-48a825e774dc'; if (!pineconeApiKey) { throw new Error('PINECONE_API_KEY is not defined.'); } -- cgit v1.2.3-70-g09d2