diff options
| author | bobzel <zzzman@gmail.com> | 2025-02-21 17:25:04 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-02-21 17:25:04 -0500 |
| commit | 76292349418bfadedb904a2bcb0c6d1466709326 (patch) | |
| tree | 40ef3bc60a0d22472fca813cf099880736c5e374 /src/client/views/nodes/chatbot/vectorstore | |
| parent | ec1c58855b7209c49026e98185bd52906aa84a37 (diff) | |
fixed dropping image onto image boxes. re-enabled rag tool
Diffstat (limited to 'src/client/views/nodes/chatbot/vectorstore')
| -rw-r--r-- | src/client/views/nodes/chatbot/vectorstore/Vectorstore.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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.'); } |
