diff --git a/packages/components/nodes/agents/CSVAgent/CSVAgent.ts b/packages/components/nodes/agents/CSVAgent/CSVAgent.ts index 905bef02d..5baad2ec4 100644 --- a/packages/components/nodes/agents/CSVAgent/CSVAgent.ts +++ b/packages/components/nodes/agents/CSVAgent/CSVAgent.ts @@ -131,7 +131,7 @@ json.dumps(my_dict)` const code = `import pandas as pd\n${pythonCode}` finalResult = await pyodide.runPythonAsync(code) } catch (error) { - throw new Error(`Sorry, I'm unable to find answer for question: "${input}" using follwoing code: "${pythonCode}"`) + throw new Error(`Sorry, I'm unable to find answer for question: "${input}" using following code: "${pythonCode}"`) } } diff --git a/packages/components/nodes/memory/BufferWindowMemory/BufferWindowMemory.ts b/packages/components/nodes/memory/BufferWindowMemory/BufferWindowMemory.ts index cf8e7f1dc..84e607e54 100644 --- a/packages/components/nodes/memory/BufferWindowMemory/BufferWindowMemory.ts +++ b/packages/components/nodes/memory/BufferWindowMemory/BufferWindowMemory.ts @@ -20,7 +20,7 @@ class BufferWindowMemory_Memory implements INode { this.type = 'BufferWindowMemory' this.icon = 'memory.svg' this.category = 'Memory' - this.description = 'Uses a window of size k to surface the last k back-and-forths to use as memory' + this.description = 'Uses a window of size k to surface the last k back-and-forth to use as memory' this.baseClasses = [this.type, ...getBaseClasses(BufferWindowMemory)] this.inputs = [ { @@ -40,7 +40,7 @@ class BufferWindowMemory_Memory implements INode { name: 'k', type: 'number', default: '4', - description: 'Window of size k to surface the last k back-and-forths to use as memory.' + description: 'Window of size k to surface the last k back-and-forth to use as memory.' } ] } diff --git a/packages/components/nodes/memory/ZepMemory/ZepMemory.ts b/packages/components/nodes/memory/ZepMemory/ZepMemory.ts index 0c05563a3..c44986444 100644 --- a/packages/components/nodes/memory/ZepMemory/ZepMemory.ts +++ b/packages/components/nodes/memory/ZepMemory/ZepMemory.ts @@ -60,7 +60,7 @@ class ZepMemory_Memory implements INode { name: 'k', type: 'number', default: '10', - description: 'Window of size k to surface the last k back-and-forths to use as memory.' + description: 'Window of size k to surface the last k back-and-forth to use as memory.' }, { label: 'Auto Summary Template', diff --git a/packages/components/nodes/prompts/FewShotPromptTemplate/FewShotPromptTemplate.ts b/packages/components/nodes/prompts/FewShotPromptTemplate/FewShotPromptTemplate.ts index 482d8745b..a1a2afc20 100644 --- a/packages/components/nodes/prompts/FewShotPromptTemplate/FewShotPromptTemplate.ts +++ b/packages/components/nodes/prompts/FewShotPromptTemplate/FewShotPromptTemplate.ts @@ -55,7 +55,7 @@ class FewShotPromptTemplate_Prompts implements INode { placeholder: `Word: {input}\nAntonym:` }, { - label: 'Example Seperator', + label: 'Example Separator', name: 'exampleSeparator', type: 'string', placeholder: `\n\n` diff --git a/packages/components/nodes/textsplitters/CharacterTextSplitter/CharacterTextSplitter.ts b/packages/components/nodes/textsplitters/CharacterTextSplitter/CharacterTextSplitter.ts index ed972ad6c..76c5cfb2f 100644 --- a/packages/components/nodes/textsplitters/CharacterTextSplitter/CharacterTextSplitter.ts +++ b/packages/components/nodes/textsplitters/CharacterTextSplitter/CharacterTextSplitter.ts @@ -41,7 +41,7 @@ class CharacterTextSplitter_TextSplitters implements INode { name: 'separator', type: 'string', placeholder: `" "`, - description: 'Seperator to determine when to split the text, will override the default separator', + description: 'Separator to determine when to split the text, will override the default separator', optional: true } ] diff --git a/packages/components/nodes/textsplitters/RecursiveCharacterTextSplitter/RecursiveCharacterTextSplitter.ts b/packages/components/nodes/textsplitters/RecursiveCharacterTextSplitter/RecursiveCharacterTextSplitter.ts index 63f712676..d7dbc1c39 100644 --- a/packages/components/nodes/textsplitters/RecursiveCharacterTextSplitter/RecursiveCharacterTextSplitter.ts +++ b/packages/components/nodes/textsplitters/RecursiveCharacterTextSplitter/RecursiveCharacterTextSplitter.ts @@ -41,7 +41,7 @@ class RecursiveCharacterTextSplitter_TextSplitters implements INode { name: 'separators', type: 'string', rows: 4, - description: 'Array of custom seperators to determine when to split the text, will override the default separators', + description: 'Array of custom separators to determine when to split the text, will override the default separators', placeholder: `["|", "##", ">", "-"]`, optional: true } diff --git a/packages/components/src/utils.ts b/packages/components/src/utils.ts index 8f33683cc..3c3c6ee27 100644 --- a/packages/components/src/utils.ts +++ b/packages/components/src/utils.ts @@ -301,7 +301,7 @@ async function crawl(baseURL: string, currentURL: string, pages: string[], limit } /** - * Prep URL before passing into recursive carwl function + * Prep URL before passing into recursive crawl function * @param {string} stringURL * @param {number} limit * @returns {Promise} @@ -445,7 +445,7 @@ export const getCredentialData = async (selectedCredentialId: string, options: I if (!credential) return {} - // Decrpyt credentialData + // Decrypt credentialData const decryptedCredentialData = await decryptCredentialData(credential.encryptedData) return decryptedCredentialData diff --git a/packages/server/marketplaces/chatflows/Antonym.json b/packages/server/marketplaces/chatflows/Antonym.json index 5f8ff7a8e..54342d8fd 100644 --- a/packages/server/marketplaces/chatflows/Antonym.json +++ b/packages/server/marketplaces/chatflows/Antonym.json @@ -45,7 +45,7 @@ "id": "fewShotPromptTemplate_1-input-suffix-string" }, { - "label": "Example Seperator", + "label": "Example Separator", "name": "exampleSeparator", "type": "string", "placeholder": "\n\n",