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}`
|
const code = `import pandas as pd\n${pythonCode}`
|
||||||
finalResult = await pyodide.runPythonAsync(code)
|
finalResult = await pyodide.runPythonAsync(code)
|
||||||
} catch (error) {
|
} 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.type = 'BufferWindowMemory'
|
||||||
this.icon = 'memory.svg'
|
this.icon = 'memory.svg'
|
||||||
this.category = 'Memory'
|
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.baseClasses = [this.type, ...getBaseClasses(BufferWindowMemory)]
|
||||||
this.inputs = [
|
this.inputs = [
|
||||||
{
|
{
|
||||||
|
|
@ -40,7 +40,7 @@ class BufferWindowMemory_Memory implements INode {
|
||||||
name: 'k',
|
name: 'k',
|
||||||
type: 'number',
|
type: 'number',
|
||||||
default: '4',
|
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',
|
name: 'k',
|
||||||
type: 'number',
|
type: 'number',
|
||||||
default: '10',
|
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',
|
label: 'Auto Summary Template',
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ class FewShotPromptTemplate_Prompts implements INode {
|
||||||
placeholder: `Word: {input}\nAntonym:`
|
placeholder: `Word: {input}\nAntonym:`
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Example Seperator',
|
label: 'Example Separator',
|
||||||
name: 'exampleSeparator',
|
name: 'exampleSeparator',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
placeholder: `\n\n`
|
placeholder: `\n\n`
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ class CharacterTextSplitter_TextSplitters implements INode {
|
||||||
name: 'separator',
|
name: 'separator',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
placeholder: `" "`,
|
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
|
optional: true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ class RecursiveCharacterTextSplitter_TextSplitters implements INode {
|
||||||
name: 'separators',
|
name: 'separators',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
rows: 4,
|
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: `["|", "##", ">", "-"]`,
|
placeholder: `["|", "##", ">", "-"]`,
|
||||||
optional: true
|
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 {string} stringURL
|
||||||
* @param {number} limit
|
* @param {number} limit
|
||||||
* @returns {Promise<string[]>}
|
* @returns {Promise<string[]>}
|
||||||
|
|
@ -445,7 +445,7 @@ export const getCredentialData = async (selectedCredentialId: string, options: I
|
||||||
|
|
||||||
if (!credential) return {}
|
if (!credential) return {}
|
||||||
|
|
||||||
// Decrpyt credentialData
|
// Decrypt credentialData
|
||||||
const decryptedCredentialData = await decryptCredentialData(credential.encryptedData)
|
const decryptedCredentialData = await decryptCredentialData(credential.encryptedData)
|
||||||
|
|
||||||
return decryptedCredentialData
|
return decryptedCredentialData
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
"id": "fewShotPromptTemplate_1-input-suffix-string"
|
"id": "fewShotPromptTemplate_1-input-suffix-string"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Example Seperator",
|
"label": "Example Separator",
|
||||||
"name": "exampleSeparator",
|
"name": "exampleSeparator",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"placeholder": "\n\n",
|
"placeholder": "\n\n",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue