Spelling Corrections.
This commit is contained in:
parent
0517d458d3
commit
cd6538c5f2
|
|
@ -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}"`)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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.'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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`
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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<string[]>}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
"id": "fewShotPromptTemplate_1-input-suffix-string"
|
||||
},
|
||||
{
|
||||
"label": "Example Seperator",
|
||||
"label": "Example Separator",
|
||||
"name": "exampleSeparator",
|
||||
"type": "string",
|
||||
"placeholder": "\n\n",
|
||||
|
|
|
|||
Loading…
Reference in New Issue