- update marketplaces

- add version to nodes and credentials
- hover over node actions
This commit is contained in:
Henry
2023-07-28 15:56:40 +01:00
parent 976e74f13f
commit 05dd23b01d
181 changed files with 884 additions and 148 deletions
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class AirtableApi implements INodeCredential { class AirtableApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Airtable API' this.label = 'Airtable API'
this.name = 'airtableApi' this.name = 'airtableApi'
this.version = 1.0
this.description = this.description =
'Refer to <a target="_blank" href="https://support.airtable.com/docs/creating-and-using-api-keys-and-access-tokens">official guide</a> on how to get accessToken on Airtable' 'Refer to <a target="_blank" href="https://support.airtable.com/docs/creating-and-using-api-keys-and-access-tokens">official guide</a> on how to get accessToken on Airtable'
this.inputs = [ this.inputs = [
@@ -3,11 +3,13 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class AnthropicApi implements INodeCredential { class AnthropicApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Anthropic API' this.label = 'Anthropic API'
this.name = 'anthropicApi' this.name = 'anthropicApi'
this.version = 1.0
this.inputs = [ this.inputs = [
{ {
label: 'Anthropic Api Key', label: 'Anthropic Api Key',
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class AzureOpenAIApi implements INodeCredential { class AzureOpenAIApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Azure OpenAI API' this.label = 'Azure OpenAI API'
this.name = 'azureOpenAIApi' this.name = 'azureOpenAIApi'
this.version = 1.0
this.description = this.description =
'Refer to <a target="_blank" href="https://azure.microsoft.com/en-us/products/cognitive-services/openai-service">official guide</a> of how to use Azure OpenAI service' 'Refer to <a target="_blank" href="https://azure.microsoft.com/en-us/products/cognitive-services/openai-service">official guide</a> of how to use Azure OpenAI service'
this.inputs = [ this.inputs = [
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class BraveSearchApi implements INodeCredential { class BraveSearchApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Brave Search API' this.label = 'Brave Search API'
this.name = 'braveSearchApi' this.name = 'braveSearchApi'
this.version = 1.0
this.inputs = [ this.inputs = [
{ {
label: 'BraveSearch Api Key', label: 'BraveSearch Api Key',
@@ -3,11 +3,13 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class CohereApi implements INodeCredential { class CohereApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Cohere API' this.label = 'Cohere API'
this.name = 'cohereApi' this.name = 'cohereApi'
this.version = 1.0
this.inputs = [ this.inputs = [
{ {
label: 'Cohere Api Key', label: 'Cohere Api Key',
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class ConfluenceApi implements INodeCredential { class ConfluenceApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Confluence API' this.label = 'Confluence API'
this.name = 'confluenceApi' this.name = 'confluenceApi'
this.version = 1.0
this.description = this.description =
'Refer to <a target="_blank" href="https://support.atlassian.com/confluence-cloud/docs/manage-oauth-access-tokens/">official guide</a> on how to get accessToken on Confluence' 'Refer to <a target="_blank" href="https://support.atlassian.com/confluence-cloud/docs/manage-oauth-access-tokens/">official guide</a> on how to get accessToken on Confluence'
this.inputs = [ this.inputs = [
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class DynamodbMemoryApi implements INodeCredential { class DynamodbMemoryApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'DynamodbMemory API' this.label = 'DynamodbMemory API'
this.name = 'dynamodbMemoryApi' this.name = 'dynamodbMemoryApi'
this.version = 1.0
this.inputs = [ this.inputs = [
{ {
label: 'Access Key', label: 'Access Key',
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class FigmaApi implements INodeCredential { class FigmaApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Figma API' this.label = 'Figma API'
this.name = 'figmaApi' this.name = 'figmaApi'
this.version = 1.0
this.description = this.description =
'Refer to <a target="_blank" href="https://www.figma.com/developers/api#access-tokens">official guide</a> on how to get accessToken on Figma' 'Refer to <a target="_blank" href="https://www.figma.com/developers/api#access-tokens">official guide</a> on how to get accessToken on Figma'
this.inputs = [ this.inputs = [
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class GithubApi implements INodeCredential { class GithubApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Github API' this.label = 'Github API'
this.name = 'githubApi' this.name = 'githubApi'
this.version = 1.0
this.description = this.description =
'Refer to <a target="_blank" href="https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens">official guide</a> on how to get accessToken on Github' 'Refer to <a target="_blank" href="https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens">official guide</a> on how to get accessToken on Github'
this.inputs = [ this.inputs = [
@@ -3,11 +3,13 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class HuggingFaceApi implements INodeCredential { class HuggingFaceApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'HuggingFace API' this.label = 'HuggingFace API'
this.name = 'huggingFaceApi' this.name = 'huggingFaceApi'
this.version = 1.0
this.inputs = [ this.inputs = [
{ {
label: 'HuggingFace Api Key', label: 'HuggingFace Api Key',
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class MotorheadMemoryApi implements INodeCredential { class MotorheadMemoryApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Motorhead Memory API' this.label = 'Motorhead Memory API'
this.name = 'motorheadMemoryApi' this.name = 'motorheadMemoryApi'
this.version = 1.0
this.description = this.description =
'Refer to <a target="_blank" href="https://docs.getmetal.io/misc-get-keys">official guide</a> on how to create API key and Client ID on Motorhead Memory' 'Refer to <a target="_blank" href="https://docs.getmetal.io/misc-get-keys">official guide</a> on how to create API key and Client ID on Motorhead Memory'
this.inputs = [ this.inputs = [
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class NotionApi implements INodeCredential { class NotionApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Notion API' this.label = 'Notion API'
this.name = 'notionApi' this.name = 'notionApi'
this.version = 1.0
this.description = this.description =
'You can find integration token <a target="_blank" href="https://developers.notion.com/docs/create-a-notion-integration#step-1-create-an-integration">here</a>' 'You can find integration token <a target="_blank" href="https://developers.notion.com/docs/create-a-notion-integration#step-1-create-an-integration">here</a>'
this.inputs = [ this.inputs = [
@@ -3,11 +3,13 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class OpenAIApi implements INodeCredential { class OpenAIApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'OpenAI API' this.label = 'OpenAI API'
this.name = 'openAIApi' this.name = 'openAIApi'
this.version = 1.0
this.inputs = [ this.inputs = [
{ {
label: 'OpenAI Api Key', label: 'OpenAI Api Key',
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class OpenAPIAuth implements INodeCredential { class OpenAPIAuth implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'OpenAPI Auth Token' this.label = 'OpenAPI Auth Token'
this.name = 'openAPIAuth' this.name = 'openAPIAuth'
this.version = 1.0
this.inputs = [ this.inputs = [
{ {
label: 'OpenAPI Token', label: 'OpenAPI Token',
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class PineconeApi implements INodeCredential { class PineconeApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Pinecone API' this.label = 'Pinecone API'
this.name = 'pineconeApi' this.name = 'pineconeApi'
this.version = 1.0
this.inputs = [ this.inputs = [
{ {
label: 'Pinecone Api Key', label: 'Pinecone Api Key',
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class QdrantApi implements INodeCredential { class QdrantApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Qdrant API' this.label = 'Qdrant API'
this.name = 'qdrantApi' this.name = 'qdrantApi'
this.version = 1.0
this.inputs = [ this.inputs = [
{ {
label: 'Qdrant API Key', label: 'Qdrant API Key',
@@ -3,11 +3,13 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class ReplicateApi implements INodeCredential { class ReplicateApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Replicate API' this.label = 'Replicate API'
this.name = 'replicateApi' this.name = 'replicateApi'
this.version = 1.0
this.inputs = [ this.inputs = [
{ {
label: 'Replicate Api Key', label: 'Replicate Api Key',
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class SerpApi implements INodeCredential { class SerpApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Serp API' this.label = 'Serp API'
this.name = 'serpApi' this.name = 'serpApi'
this.version = 1.0
this.inputs = [ this.inputs = [
{ {
label: 'Serp Api Key', label: 'Serp Api Key',
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class SerperApi implements INodeCredential { class SerperApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Serper API' this.label = 'Serper API'
this.name = 'serperApi' this.name = 'serperApi'
this.version = 1.0
this.inputs = [ this.inputs = [
{ {
label: 'Serper Api Key', label: 'Serper Api Key',
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class SingleStoreApi implements INodeCredential { class SingleStoreApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'SingleStore API' this.label = 'SingleStore API'
this.name = 'singleStoreApi' this.name = 'singleStoreApi'
this.version = 1.0
this.inputs = [ this.inputs = [
{ {
label: 'User', label: 'User',
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class SupabaseApi implements INodeCredential { class SupabaseApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Supabase API' this.label = 'Supabase API'
this.name = 'supabaseApi' this.name = 'supabaseApi'
this.version = 1.0
this.inputs = [ this.inputs = [
{ {
label: 'Supabase API Key', label: 'Supabase API Key',
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class WeaviateApi implements INodeCredential { class WeaviateApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Weaviate API' this.label = 'Weaviate API'
this.name = 'weaviateApi' this.name = 'weaviateApi'
this.version = 1.0
this.inputs = [ this.inputs = [
{ {
label: 'Weaviate API Key', label: 'Weaviate API Key',
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class ZapierNLAApi implements INodeCredential { class ZapierNLAApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Zapier NLA API' this.label = 'Zapier NLA API'
this.name = 'zapierNLAApi' this.name = 'zapierNLAApi'
this.version = 1.0
this.inputs = [ this.inputs = [
{ {
label: 'Zapier NLA Api Key', label: 'Zapier NLA Api Key',
@@ -3,12 +3,14 @@ import { INodeParams, INodeCredential } from '../src/Interface'
class ZepMemoryApi implements INodeCredential { class ZepMemoryApi implements INodeCredential {
label: string label: string
name: string name: string
version: number
description: string description: string
inputs: INodeParams[] inputs: INodeParams[]
constructor() { constructor() {
this.label = 'Zep Memory API' this.label = 'Zep Memory API'
this.name = 'zepMemoryApi' this.name = 'zepMemoryApi'
this.version = 1.0
this.description = this.description =
'Refer to <a target="_blank" href="https://docs.getzep.com/deployment/auth/">official guide</a> on how to create API key on Zep' 'Refer to <a target="_blank" href="https://docs.getzep.com/deployment/auth/">official guide</a> on how to create API key on Zep'
this.inputs = [ this.inputs = [
@@ -10,6 +10,7 @@ import axios from 'axios'
class Airtable_Agents implements INode { class Airtable_Agents implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -21,6 +22,7 @@ class Airtable_Agents implements INode {
constructor() { constructor() {
this.label = 'Airtable Agent' this.label = 'Airtable Agent'
this.name = 'airtableAgent' this.name = 'airtableAgent'
this.version = 1.0
this.type = 'AgentExecutor' this.type = 'AgentExecutor'
this.category = 'Agents' this.category = 'Agents'
this.icon = 'airtable.svg' this.icon = 'airtable.svg'
@@ -67,7 +69,6 @@ class Airtable_Agents implements INode {
name: 'limit', name: 'limit',
type: 'number', type: 'number',
default: 100, default: 100,
step: 1,
additionalParams: true, additionalParams: true,
description: 'Number of results to return' description: 'Number of results to return'
} }
@@ -8,6 +8,7 @@ import { flatten } from 'lodash'
class AutoGPT_Agents implements INode { class AutoGPT_Agents implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -18,6 +19,7 @@ class AutoGPT_Agents implements INode {
constructor() { constructor() {
this.label = 'AutoGPT' this.label = 'AutoGPT'
this.name = 'autoGPT' this.name = 'autoGPT'
this.version = 1.0
this.type = 'AutoGPT' this.type = 'AutoGPT'
this.category = 'Agents' this.category = 'Agents'
this.icon = 'autogpt.png' this.icon = 'autogpt.png'
@@ -6,6 +6,7 @@ import { VectorStore } from 'langchain/vectorstores'
class BabyAGI_Agents implements INode { class BabyAGI_Agents implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -16,6 +17,7 @@ class BabyAGI_Agents implements INode {
constructor() { constructor() {
this.label = 'BabyAGI' this.label = 'BabyAGI'
this.name = 'babyAGI' this.name = 'babyAGI'
this.version = 1.0
this.type = 'BabyAGI' this.type = 'BabyAGI'
this.category = 'Agents' this.category = 'Agents'
this.icon = 'babyagi.jpg' this.icon = 'babyagi.jpg'
@@ -9,6 +9,7 @@ import { ConsoleCallbackHandler, CustomChainHandler } from '../../../src/handler
class CSV_Agents implements INode { class CSV_Agents implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -19,6 +20,7 @@ class CSV_Agents implements INode {
constructor() { constructor() {
this.label = 'CSV Agent' this.label = 'CSV Agent'
this.name = 'csvAgent' this.name = 'csvAgent'
this.version = 1.0
this.type = 'AgentExecutor' this.type = 'AgentExecutor'
this.category = 'Agents' this.category = 'Agents'
this.icon = 'csvagent.png' this.icon = 'csvagent.png'
@@ -18,6 +18,7 @@ Overall, Assistant is a powerful system that can help with a wide range of tasks
class ConversationalAgent_Agents implements INode { class ConversationalAgent_Agents implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -28,6 +29,7 @@ class ConversationalAgent_Agents implements INode {
constructor() { constructor() {
this.label = 'Conversational Agent' this.label = 'Conversational Agent'
this.name = 'conversationalAgent' this.name = 'conversationalAgent'
this.version = 1.0
this.type = 'AgentExecutor' this.type = 'AgentExecutor'
this.category = 'Agents' this.category = 'Agents'
this.icon = 'agent.svg' this.icon = 'agent.svg'
@@ -8,6 +8,7 @@ import { flatten } from 'lodash'
class MRKLAgentChat_Agents implements INode { class MRKLAgentChat_Agents implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -18,6 +19,7 @@ class MRKLAgentChat_Agents implements INode {
constructor() { constructor() {
this.label = 'MRKL Agent for Chat Models' this.label = 'MRKL Agent for Chat Models'
this.name = 'mrklAgentChat' this.name = 'mrklAgentChat'
this.version = 1.0
this.type = 'AgentExecutor' this.type = 'AgentExecutor'
this.category = 'Agents' this.category = 'Agents'
this.icon = 'agent.svg' this.icon = 'agent.svg'
@@ -8,6 +8,7 @@ import { flatten } from 'lodash'
class MRKLAgentLLM_Agents implements INode { class MRKLAgentLLM_Agents implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -18,6 +19,7 @@ class MRKLAgentLLM_Agents implements INode {
constructor() { constructor() {
this.label = 'MRKL Agent for LLMs' this.label = 'MRKL Agent for LLMs'
this.name = 'mrklAgentLLM' this.name = 'mrklAgentLLM'
this.version = 1.0
this.type = 'AgentExecutor' this.type = 'AgentExecutor'
this.category = 'Agents' this.category = 'Agents'
this.icon = 'agent.svg' this.icon = 'agent.svg'
@@ -10,6 +10,7 @@ import { ConsoleCallbackHandler, CustomChainHandler } from '../../../src/handler
class OpenAIFunctionAgent_Agents implements INode { class OpenAIFunctionAgent_Agents implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -20,6 +21,7 @@ class OpenAIFunctionAgent_Agents implements INode {
constructor() { constructor() {
this.label = 'OpenAI Function Agent' this.label = 'OpenAI Function Agent'
this.name = 'openAIFunctionAgent' this.name = 'openAIFunctionAgent'
this.version = 1.0
this.type = 'AgentExecutor' this.type = 'AgentExecutor'
this.category = 'Agents' this.category = 'Agents'
this.icon = 'openai.png' this.icon = 'openai.png'
@@ -19,6 +19,7 @@ export const API_RESPONSE_RAW_PROMPT_TEMPLATE =
class GETApiChain_Chains implements INode { class GETApiChain_Chains implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -29,6 +30,7 @@ class GETApiChain_Chains implements INode {
constructor() { constructor() {
this.label = 'GET API Chain' this.label = 'GET API Chain'
this.name = 'getApiChain' this.name = 'getApiChain'
this.version = 1.0
this.type = 'GETApiChain' this.type = 'GETApiChain'
this.icon = 'apichain.svg' this.icon = 'apichain.svg'
this.category = 'Chains' this.category = 'Chains'
@@ -7,6 +7,7 @@ import { ConsoleCallbackHandler, CustomChainHandler } from '../../../src/handler
class OpenApiChain_Chains implements INode { class OpenApiChain_Chains implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -17,7 +18,8 @@ class OpenApiChain_Chains implements INode {
constructor() { constructor() {
this.label = 'OpenAPI Chain' this.label = 'OpenAPI Chain'
this.name = 'openApiChain' this.name = 'openApiChain'
this.type = 'openApiChain' this.version = 1.0
this.type = 'OpenAPIChain'
this.icon = 'openapi.png' this.icon = 'openapi.png'
this.category = 'Chains' this.category = 'Chains'
this.description = 'Chain that automatically select and call APIs based only on an OpenAPI spec' this.description = 'Chain that automatically select and call APIs based only on an OpenAPI spec'
@@ -8,6 +8,7 @@ import { ConsoleCallbackHandler, CustomChainHandler } from '../../../src/handler
class POSTApiChain_Chains implements INode { class POSTApiChain_Chains implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -18,6 +19,7 @@ class POSTApiChain_Chains implements INode {
constructor() { constructor() {
this.label = 'POST API Chain' this.label = 'POST API Chain'
this.name = 'postApiChain' this.name = 'postApiChain'
this.version = 1.0
this.type = 'POSTApiChain' this.type = 'POSTApiChain'
this.icon = 'apichain.svg' this.icon = 'apichain.svg'
this.category = 'Chains' this.category = 'Chains'
@@ -14,6 +14,7 @@ let systemMessage = `The following is a friendly conversation between a human an
class ConversationChain_Chains implements INode { class ConversationChain_Chains implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -24,6 +25,7 @@ class ConversationChain_Chains implements INode {
constructor() { constructor() {
this.label = 'Conversation Chain' this.label = 'Conversation Chain'
this.name = 'conversationChain' this.name = 'conversationChain'
this.version = 1.0
this.type = 'ConversationChain' this.type = 'ConversationChain'
this.icon = 'chain.svg' this.icon = 'chain.svg'
this.category = 'Chains' this.category = 'Chains'
@@ -20,6 +20,7 @@ import {
class ConversationalRetrievalQAChain_Chains implements INode { class ConversationalRetrievalQAChain_Chains implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -30,6 +31,7 @@ class ConversationalRetrievalQAChain_Chains implements INode {
constructor() { constructor() {
this.label = 'Conversational Retrieval QA Chain' this.label = 'Conversational Retrieval QA Chain'
this.name = 'conversationalRetrievalQAChain' this.name = 'conversationalRetrievalQAChain'
this.version = 1.0
this.type = 'ConversationalRetrievalQAChain' this.type = 'ConversationalRetrievalQAChain'
this.icon = 'chain.svg' this.icon = 'chain.svg'
this.category = 'Chains' this.category = 'Chains'
@@ -7,6 +7,7 @@ import { ConsoleCallbackHandler, CustomChainHandler } from '../../../src/handler
class LLMChain_Chains implements INode { class LLMChain_Chains implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -18,6 +19,7 @@ class LLMChain_Chains implements INode {
constructor() { constructor() {
this.label = 'LLM Chain' this.label = 'LLM Chain'
this.name = 'llmChain' this.name = 'llmChain'
this.version = 1.0
this.type = 'LLMChain' this.type = 'LLMChain'
this.icon = 'chain.svg' this.icon = 'chain.svg'
this.category = 'Chains' this.category = 'Chains'
@@ -7,6 +7,7 @@ import { ConsoleCallbackHandler, CustomChainHandler } from '../../../src/handler
class MultiPromptChain_Chains implements INode { class MultiPromptChain_Chains implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -17,6 +18,7 @@ class MultiPromptChain_Chains implements INode {
constructor() { constructor() {
this.label = 'Multi Prompt Chain' this.label = 'Multi Prompt Chain'
this.name = 'multiPromptChain' this.name = 'multiPromptChain'
this.version = 1.0
this.type = 'MultiPromptChain' this.type = 'MultiPromptChain'
this.icon = 'chain.svg' this.icon = 'chain.svg'
this.category = 'Chains' this.category = 'Chains'
@@ -7,6 +7,7 @@ import { ConsoleCallbackHandler, CustomChainHandler } from '../../../src/handler
class MultiRetrievalQAChain_Chains implements INode { class MultiRetrievalQAChain_Chains implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -17,6 +18,7 @@ class MultiRetrievalQAChain_Chains implements INode {
constructor() { constructor() {
this.label = 'Multi Retrieval QA Chain' this.label = 'Multi Retrieval QA Chain'
this.name = 'multiRetrievalQAChain' this.name = 'multiRetrievalQAChain'
this.version = 1.0
this.type = 'MultiRetrievalQAChain' this.type = 'MultiRetrievalQAChain'
this.icon = 'chain.svg' this.icon = 'chain.svg'
this.category = 'Chains' this.category = 'Chains'
@@ -8,6 +8,7 @@ import { ConsoleCallbackHandler, CustomChainHandler } from '../../../src/handler
class RetrievalQAChain_Chains implements INode { class RetrievalQAChain_Chains implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -18,6 +19,7 @@ class RetrievalQAChain_Chains implements INode {
constructor() { constructor() {
this.label = 'Retrieval QA Chain' this.label = 'Retrieval QA Chain'
this.name = 'retrievalQAChain' this.name = 'retrievalQAChain'
this.version = 1.0
this.type = 'RetrievalQAChain' this.type = 'RetrievalQAChain'
this.icon = 'chain.svg' this.icon = 'chain.svg'
this.category = 'Chains' this.category = 'Chains'
@@ -9,6 +9,7 @@ import { ConsoleCallbackHandler, CustomChainHandler } from '../../../src/handler
class SqlDatabaseChain_Chains implements INode { class SqlDatabaseChain_Chains implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -19,6 +20,7 @@ class SqlDatabaseChain_Chains implements INode {
constructor() { constructor() {
this.label = 'Sql Database Chain' this.label = 'Sql Database Chain'
this.name = 'sqlDatabaseChain' this.name = 'sqlDatabaseChain'
this.version = 1.0
this.type = 'SqlDatabaseChain' this.type = 'SqlDatabaseChain'
this.icon = 'sqlchain.svg' this.icon = 'sqlchain.svg'
this.category = 'Chains' this.category = 'Chains'
@@ -8,6 +8,7 @@ import { ConsoleCallbackHandler, CustomChainHandler } from '../../../src/handler
class VectorDBQAChain_Chains implements INode { class VectorDBQAChain_Chains implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -18,6 +19,7 @@ class VectorDBQAChain_Chains implements INode {
constructor() { constructor() {
this.label = 'VectorDB QA Chain' this.label = 'VectorDB QA Chain'
this.name = 'vectorDBQAChain' this.name = 'vectorDBQAChain'
this.version = 1.0
this.type = 'VectorDBQAChain' this.type = 'VectorDBQAChain'
this.icon = 'chain.svg' this.icon = 'chain.svg'
this.category = 'Chains' this.category = 'Chains'
@@ -6,6 +6,7 @@ import { AzureOpenAIInput, ChatOpenAI } from 'langchain/chat_models/openai'
class AzureChatOpenAI_ChatModels implements INode { class AzureChatOpenAI_ChatModels implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -17,6 +18,7 @@ class AzureChatOpenAI_ChatModels implements INode {
constructor() { constructor() {
this.label = 'Azure ChatOpenAI' this.label = 'Azure ChatOpenAI'
this.name = 'azureChatOpenAI' this.name = 'azureChatOpenAI'
this.version = 1.0
this.type = 'AzureChatOpenAI' this.type = 'AzureChatOpenAI'
this.icon = 'Azure.svg' this.icon = 'Azure.svg'
this.category = 'Chat Models' this.category = 'Chat Models'
@@ -58,6 +60,7 @@ class AzureChatOpenAI_ChatModels implements INode {
label: 'Temperature', label: 'Temperature',
name: 'temperature', name: 'temperature',
type: 'number', type: 'number',
step: 0.1,
default: 0.9, default: 0.9,
optional: true optional: true
}, },
@@ -65,6 +68,7 @@ class AzureChatOpenAI_ChatModels implements INode {
label: 'Max Tokens', label: 'Max Tokens',
name: 'maxTokens', name: 'maxTokens',
type: 'number', type: 'number',
step: 1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -72,6 +76,7 @@ class AzureChatOpenAI_ChatModels implements INode {
label: 'Frequency Penalty', label: 'Frequency Penalty',
name: 'frequencyPenalty', name: 'frequencyPenalty',
type: 'number', type: 'number',
step: 0.1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -79,6 +84,7 @@ class AzureChatOpenAI_ChatModels implements INode {
label: 'Presence Penalty', label: 'Presence Penalty',
name: 'presencePenalty', name: 'presencePenalty',
type: 'number', type: 'number',
step: 0.1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -86,6 +92,7 @@ class AzureChatOpenAI_ChatModels implements INode {
label: 'Timeout', label: 'Timeout',
name: 'timeout', name: 'timeout',
type: 'number', type: 'number',
step: 1,
optional: true, optional: true,
additionalParams: true additionalParams: true
} }
@@ -118,8 +125,8 @@ class AzureChatOpenAI_ChatModels implements INode {
} }
if (maxTokens) obj.maxTokens = parseInt(maxTokens, 10) if (maxTokens) obj.maxTokens = parseInt(maxTokens, 10)
if (frequencyPenalty) obj.frequencyPenalty = parseInt(frequencyPenalty, 10) if (frequencyPenalty) obj.frequencyPenalty = parseFloat(frequencyPenalty)
if (presencePenalty) obj.presencePenalty = parseInt(presencePenalty, 10) if (presencePenalty) obj.presencePenalty = parseFloat(presencePenalty)
if (timeout) obj.timeout = parseInt(timeout, 10) if (timeout) obj.timeout = parseInt(timeout, 10)
const model = new ChatOpenAI(obj) const model = new ChatOpenAI(obj)
@@ -5,6 +5,7 @@ import { AnthropicInput, ChatAnthropic } from 'langchain/chat_models/anthropic'
class ChatAnthropic_ChatModels implements INode { class ChatAnthropic_ChatModels implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -16,6 +17,7 @@ class ChatAnthropic_ChatModels implements INode {
constructor() { constructor() {
this.label = 'ChatAnthropic' this.label = 'ChatAnthropic'
this.name = 'chatAnthropic' this.name = 'chatAnthropic'
this.version = 1.0
this.type = 'ChatAnthropic' this.type = 'ChatAnthropic'
this.icon = 'chatAnthropic.png' this.icon = 'chatAnthropic.png'
this.category = 'Chat Models' this.category = 'Chat Models'
@@ -95,6 +97,7 @@ class ChatAnthropic_ChatModels implements INode {
label: 'Temperature', label: 'Temperature',
name: 'temperature', name: 'temperature',
type: 'number', type: 'number',
step: 0.1,
default: 0.9, default: 0.9,
optional: true optional: true
}, },
@@ -102,6 +105,7 @@ class ChatAnthropic_ChatModels implements INode {
label: 'Max Tokens', label: 'Max Tokens',
name: 'maxTokensToSample', name: 'maxTokensToSample',
type: 'number', type: 'number',
step: 1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -109,6 +113,7 @@ class ChatAnthropic_ChatModels implements INode {
label: 'Top P', label: 'Top P',
name: 'topP', name: 'topP',
type: 'number', type: 'number',
step: 0.1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -116,6 +121,7 @@ class ChatAnthropic_ChatModels implements INode {
label: 'Top K', label: 'Top K',
name: 'topK', name: 'topK',
type: 'number', type: 'number',
step: 0.1,
optional: true, optional: true,
additionalParams: true additionalParams: true
} }
@@ -5,6 +5,7 @@ import { HFInput, HuggingFaceInference } from './core'
class ChatHuggingFace_ChatModels implements INode { class ChatHuggingFace_ChatModels implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -16,6 +17,7 @@ class ChatHuggingFace_ChatModels implements INode {
constructor() { constructor() {
this.label = 'ChatHuggingFace' this.label = 'ChatHuggingFace'
this.name = 'chatHuggingFace' this.name = 'chatHuggingFace'
this.version = 1.0
this.type = 'ChatHuggingFace' this.type = 'ChatHuggingFace'
this.icon = 'huggingface.png' this.icon = 'huggingface.png'
this.category = 'Chat Models' this.category = 'Chat Models'
@@ -48,6 +50,7 @@ class ChatHuggingFace_ChatModels implements INode {
label: 'Temperature', label: 'Temperature',
name: 'temperature', name: 'temperature',
type: 'number', type: 'number',
step: 0.1,
description: 'Temperature parameter may not apply to certain model. Please check available model parameters', description: 'Temperature parameter may not apply to certain model. Please check available model parameters',
optional: true, optional: true,
additionalParams: true additionalParams: true
@@ -56,6 +59,7 @@ class ChatHuggingFace_ChatModels implements INode {
label: 'Max Tokens', label: 'Max Tokens',
name: 'maxTokens', name: 'maxTokens',
type: 'number', type: 'number',
step: 1,
description: 'Max Tokens parameter may not apply to certain model. Please check available model parameters', description: 'Max Tokens parameter may not apply to certain model. Please check available model parameters',
optional: true, optional: true,
additionalParams: true additionalParams: true
@@ -64,6 +68,7 @@ class ChatHuggingFace_ChatModels implements INode {
label: 'Top Probability', label: 'Top Probability',
name: 'topP', name: 'topP',
type: 'number', type: 'number',
step: 0.1,
description: 'Top Probability parameter may not apply to certain model. Please check available model parameters', description: 'Top Probability parameter may not apply to certain model. Please check available model parameters',
optional: true, optional: true,
additionalParams: true additionalParams: true
@@ -72,6 +77,7 @@ class ChatHuggingFace_ChatModels implements INode {
label: 'Top K', label: 'Top K',
name: 'hfTopK', name: 'hfTopK',
type: 'number', type: 'number',
step: 0.1,
description: 'Top K parameter may not apply to certain model. Please check available model parameters', description: 'Top K parameter may not apply to certain model. Please check available model parameters',
optional: true, optional: true,
additionalParams: true additionalParams: true
@@ -80,6 +86,7 @@ class ChatHuggingFace_ChatModels implements INode {
label: 'Frequency Penalty', label: 'Frequency Penalty',
name: 'frequencyPenalty', name: 'frequencyPenalty',
type: 'number', type: 'number',
step: 0.1,
description: 'Frequency Penalty parameter may not apply to certain model. Please check available model parameters', description: 'Frequency Penalty parameter may not apply to certain model. Please check available model parameters',
optional: true, optional: true,
additionalParams: true additionalParams: true
@@ -108,7 +115,7 @@ class ChatHuggingFace_ChatModels implements INode {
if (maxTokens) obj.maxTokens = parseInt(maxTokens, 10) if (maxTokens) obj.maxTokens = parseInt(maxTokens, 10)
if (topP) obj.topP = parseFloat(topP) if (topP) obj.topP = parseFloat(topP)
if (hfTopK) obj.topK = parseFloat(hfTopK) if (hfTopK) obj.topK = parseFloat(hfTopK)
if (frequencyPenalty) obj.frequencyPenalty = parseInt(frequencyPenalty, 10) if (frequencyPenalty) obj.frequencyPenalty = parseFloat(frequencyPenalty)
if (endpoint) obj.endpoint = endpoint if (endpoint) obj.endpoint = endpoint
const huggingFace = new HuggingFaceInference(obj) const huggingFace = new HuggingFaceInference(obj)
@@ -6,6 +6,7 @@ import { OpenAIChatInput } from 'langchain/chat_models/openai'
class ChatLocalAI_ChatModels implements INode { class ChatLocalAI_ChatModels implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -16,6 +17,7 @@ class ChatLocalAI_ChatModels implements INode {
constructor() { constructor() {
this.label = 'ChatLocalAI' this.label = 'ChatLocalAI'
this.name = 'chatLocalAI' this.name = 'chatLocalAI'
this.version = 1.0
this.type = 'ChatLocalAI' this.type = 'ChatLocalAI'
this.icon = 'localai.png' this.icon = 'localai.png'
this.category = 'Chat Models' this.category = 'Chat Models'
@@ -38,6 +40,7 @@ class ChatLocalAI_ChatModels implements INode {
label: 'Temperature', label: 'Temperature',
name: 'temperature', name: 'temperature',
type: 'number', type: 'number',
step: 0.1,
default: 0.9, default: 0.9,
optional: true optional: true
}, },
@@ -45,6 +48,7 @@ class ChatLocalAI_ChatModels implements INode {
label: 'Max Tokens', label: 'Max Tokens',
name: 'maxTokens', name: 'maxTokens',
type: 'number', type: 'number',
step: 1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -52,6 +56,7 @@ class ChatLocalAI_ChatModels implements INode {
label: 'Top Probability', label: 'Top Probability',
name: 'topP', name: 'topP',
type: 'number', type: 'number',
step: 0.1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -59,6 +64,7 @@ class ChatLocalAI_ChatModels implements INode {
label: 'Timeout', label: 'Timeout',
name: 'timeout', name: 'timeout',
type: 'number', type: 'number',
step: 1,
optional: true, optional: true,
additionalParams: true additionalParams: true
} }
@@ -5,6 +5,7 @@ import { ChatOpenAI, OpenAIChatInput } from 'langchain/chat_models/openai'
class ChatOpenAI_ChatModels implements INode { class ChatOpenAI_ChatModels implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -16,6 +17,7 @@ class ChatOpenAI_ChatModels implements INode {
constructor() { constructor() {
this.label = 'ChatOpenAI' this.label = 'ChatOpenAI'
this.name = 'chatOpenAI' this.name = 'chatOpenAI'
this.version = 1.0
this.type = 'ChatOpenAI' this.type = 'ChatOpenAI'
this.icon = 'openai.png' this.icon = 'openai.png'
this.category = 'Chat Models' this.category = 'Chat Models'
@@ -73,6 +75,7 @@ class ChatOpenAI_ChatModels implements INode {
label: 'Temperature', label: 'Temperature',
name: 'temperature', name: 'temperature',
type: 'number', type: 'number',
step: 0.1,
default: 0.9, default: 0.9,
optional: true optional: true
}, },
@@ -80,6 +83,7 @@ class ChatOpenAI_ChatModels implements INode {
label: 'Max Tokens', label: 'Max Tokens',
name: 'maxTokens', name: 'maxTokens',
type: 'number', type: 'number',
step: 1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -87,6 +91,7 @@ class ChatOpenAI_ChatModels implements INode {
label: 'Top Probability', label: 'Top Probability',
name: 'topP', name: 'topP',
type: 'number', type: 'number',
step: 0.1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -94,6 +99,7 @@ class ChatOpenAI_ChatModels implements INode {
label: 'Frequency Penalty', label: 'Frequency Penalty',
name: 'frequencyPenalty', name: 'frequencyPenalty',
type: 'number', type: 'number',
step: 0.1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -101,6 +107,7 @@ class ChatOpenAI_ChatModels implements INode {
label: 'Presence Penalty', label: 'Presence Penalty',
name: 'presencePenalty', name: 'presencePenalty',
type: 'number', type: 'number',
step: 0.1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -108,6 +115,7 @@ class ChatOpenAI_ChatModels implements INode {
label: 'Timeout', label: 'Timeout',
name: 'timeout', name: 'timeout',
type: 'number', type: 'number',
step: 1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -144,8 +152,8 @@ class ChatOpenAI_ChatModels implements INode {
if (maxTokens) obj.maxTokens = parseInt(maxTokens, 10) if (maxTokens) obj.maxTokens = parseInt(maxTokens, 10)
if (topP) obj.topP = parseFloat(topP) if (topP) obj.topP = parseFloat(topP)
if (frequencyPenalty) obj.frequencyPenalty = parseInt(frequencyPenalty, 10) if (frequencyPenalty) obj.frequencyPenalty = parseFloat(frequencyPenalty)
if (presencePenalty) obj.presencePenalty = parseInt(presencePenalty, 10) if (presencePenalty) obj.presencePenalty = parseFloat(presencePenalty)
if (timeout) obj.timeout = parseInt(timeout, 10) if (timeout) obj.timeout = parseInt(timeout, 10)
const model = new ChatOpenAI(obj, { const model = new ChatOpenAI(obj, {
@@ -7,6 +7,7 @@ import axios, { AxiosRequestConfig } from 'axios'
class API_DocumentLoaders implements INode { class API_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -17,6 +18,7 @@ class API_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'API Loader' this.label = 'API Loader'
this.name = 'apiLoader' this.name = 'apiLoader'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'api-loader.png' this.icon = 'api-loader.png'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -8,6 +8,7 @@ import { getCredentialData, getCredentialParam } from '../../../src/utils'
class Airtable_DocumentLoaders implements INode { class Airtable_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -19,6 +20,7 @@ class Airtable_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Airtable' this.label = 'Airtable'
this.name = 'airtable' this.name = 'airtable'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'airtable.svg' this.icon = 'airtable.svg'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -66,7 +68,6 @@ class Airtable_DocumentLoaders implements INode {
name: 'limit', name: 'limit',
type: 'number', type: 'number',
default: 100, default: 100,
step: 1,
additionalParams: true, additionalParams: true,
description: 'Number of results to return' description: 'Number of results to return'
}, },
@@ -7,6 +7,7 @@ import { webCrawl, xmlScrape } from '../../../src'
class Cheerio_DocumentLoaders implements INode { class Cheerio_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -17,6 +18,7 @@ class Cheerio_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Cheerio Web Scraper' this.label = 'Cheerio Web Scraper'
this.name = 'cheerioWebScraper' this.name = 'cheerioWebScraper'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'cheerio.svg' this.icon = 'cheerio.svg'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -6,6 +6,7 @@ import { getCredentialData, getCredentialParam } from '../../../src'
class Confluence_DocumentLoaders implements INode { class Confluence_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -17,6 +18,7 @@ class Confluence_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Confluence' this.label = 'Confluence'
this.name = 'confluence' this.name = 'confluence'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'confluence.png' this.icon = 'confluence.png'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -5,6 +5,7 @@ import { CSVLoader } from 'langchain/document_loaders/fs/csv'
class Csv_DocumentLoaders implements INode { class Csv_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class Csv_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Csv File' this.label = 'Csv File'
this.name = 'csvFile' this.name = 'csvFile'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'Csv.png' this.icon = 'Csv.png'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -5,6 +5,7 @@ import { DocxLoader } from 'langchain/document_loaders/fs/docx'
class Docx_DocumentLoaders implements INode { class Docx_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class Docx_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Docx File' this.label = 'Docx File'
this.name = 'docxFile' this.name = 'docxFile'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'Docx.png' this.icon = 'Docx.png'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -5,6 +5,7 @@ import { FigmaFileLoader, FigmaLoaderParams } from 'langchain/document_loaders/w
class Figma_DocumentLoaders implements INode { class Figma_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -16,6 +17,7 @@ class Figma_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Figma' this.label = 'Figma'
this.name = 'figma' this.name = 'figma'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'figma.svg' this.icon = 'figma.svg'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -10,6 +10,7 @@ import { DocxLoader } from 'langchain/document_loaders/fs/docx'
class Folder_DocumentLoaders implements INode { class Folder_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -20,6 +21,7 @@ class Folder_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Folder with Files' this.label = 'Folder with Files'
this.name = 'folderFiles' this.name = 'folderFiles'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'folder.svg' this.icon = 'folder.svg'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -5,6 +5,7 @@ import { GitbookLoader } from 'langchain/document_loaders/web/gitbook'
class Gitbook_DocumentLoaders implements INode { class Gitbook_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class Gitbook_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'GitBook' this.label = 'GitBook'
this.name = 'gitbook' this.name = 'gitbook'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'gitbook.svg' this.icon = 'gitbook.svg'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -6,6 +6,7 @@ import { getCredentialData, getCredentialParam } from '../../../src'
class Github_DocumentLoaders implements INode { class Github_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -17,6 +18,7 @@ class Github_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Github' this.label = 'Github'
this.name = 'github' this.name = 'github'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'github.png' this.icon = 'github.png'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -5,6 +5,7 @@ import { JSONLoader } from 'langchain/document_loaders/fs/json'
class Json_DocumentLoaders implements INode { class Json_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class Json_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Json File' this.label = 'Json File'
this.name = 'jsonFile' this.name = 'jsonFile'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'json.svg' this.icon = 'json.svg'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -5,6 +5,7 @@ import { JSONLinesLoader } from 'langchain/document_loaders/fs/json'
class Jsonlines_DocumentLoaders implements INode { class Jsonlines_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class Jsonlines_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Json Lines File' this.label = 'Json Lines File'
this.name = 'jsonlinesFile' this.name = 'jsonlinesFile'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'jsonlines.svg' this.icon = 'jsonlines.svg'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -6,6 +6,7 @@ import { getCredentialData, getCredentialParam } from '../../../src'
class NotionDB_DocumentLoaders implements INode { class NotionDB_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -17,6 +18,7 @@ class NotionDB_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Notion Database' this.label = 'Notion Database'
this.name = 'notionDB' this.name = 'notionDB'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'notion.png' this.icon = 'notion.png'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -5,6 +5,7 @@ import { NotionLoader } from 'langchain/document_loaders/fs/notion'
class NotionFolder_DocumentLoaders implements INode { class NotionFolder_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class NotionFolder_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Notion Folder' this.label = 'Notion Folder'
this.name = 'notionFolder' this.name = 'notionFolder'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'notion.png' this.icon = 'notion.png'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -6,6 +6,7 @@ import { getCredentialData, getCredentialParam } from '../../../src'
class NotionPage_DocumentLoaders implements INode { class NotionPage_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -17,6 +18,7 @@ class NotionPage_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Notion Page' this.label = 'Notion Page'
this.name = 'notionPage' this.name = 'notionPage'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'notion.png' this.icon = 'notion.png'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -5,6 +5,7 @@ import { PDFLoader } from 'langchain/document_loaders/fs/pdf'
class Pdf_DocumentLoaders implements INode { class Pdf_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class Pdf_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Pdf File' this.label = 'Pdf File'
this.name = 'pdfFile' this.name = 'pdfFile'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'pdf.svg' this.icon = 'pdf.svg'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -7,6 +7,7 @@ import { webCrawl, xmlScrape } from '../../../src'
class Playwright_DocumentLoaders implements INode { class Playwright_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -17,6 +18,7 @@ class Playwright_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Playwright Web Scraper' this.label = 'Playwright Web Scraper'
this.name = 'playwrightWebScraper' this.name = 'playwrightWebScraper'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'playwright.svg' this.icon = 'playwright.svg'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -7,6 +7,7 @@ import { webCrawl, xmlScrape } from '../../../src'
class Puppeteer_DocumentLoaders implements INode { class Puppeteer_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -17,6 +18,7 @@ class Puppeteer_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Puppeteer Web Scraper' this.label = 'Puppeteer Web Scraper'
this.name = 'puppeteerWebScraper' this.name = 'puppeteerWebScraper'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'puppeteer.svg' this.icon = 'puppeteer.svg'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -5,6 +5,7 @@ import { SRTLoader } from 'langchain/document_loaders/fs/srt'
class Subtitles_DocumentLoaders implements INode { class Subtitles_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class Subtitles_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Subtitles File' this.label = 'Subtitles File'
this.name = 'subtitlesFile' this.name = 'subtitlesFile'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'subtitlesFile.svg' this.icon = 'subtitlesFile.svg'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -5,6 +5,7 @@ import { TextLoader } from 'langchain/document_loaders/fs/text'
class Text_DocumentLoaders implements INode { class Text_DocumentLoaders implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class Text_DocumentLoaders implements INode {
constructor() { constructor() {
this.label = 'Text File' this.label = 'Text File'
this.name = 'textFile' this.name = 'textFile'
this.version = 1.0
this.type = 'Document' this.type = 'Document'
this.icon = 'textFile.svg' this.icon = 'textFile.svg'
this.category = 'Document Loaders' this.category = 'Document Loaders'
@@ -6,6 +6,7 @@ import { OpenAIEmbeddings, OpenAIEmbeddingsParams } from 'langchain/embeddings/o
class AzureOpenAIEmbedding_Embeddings implements INode { class AzureOpenAIEmbedding_Embeddings implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -17,6 +18,7 @@ class AzureOpenAIEmbedding_Embeddings implements INode {
constructor() { constructor() {
this.label = 'Azure OpenAI Embeddings' this.label = 'Azure OpenAI Embeddings'
this.name = 'azureOpenAIEmbeddings' this.name = 'azureOpenAIEmbeddings'
this.version = 1.0
this.type = 'AzureOpenAIEmbeddings' this.type = 'AzureOpenAIEmbeddings'
this.icon = 'Azure.svg' this.icon = 'Azure.svg'
this.category = 'Embeddings' this.category = 'Embeddings'
@@ -5,6 +5,7 @@ import { CohereEmbeddings, CohereEmbeddingsParams } from 'langchain/embeddings/c
class CohereEmbedding_Embeddings implements INode { class CohereEmbedding_Embeddings implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -16,6 +17,7 @@ class CohereEmbedding_Embeddings implements INode {
constructor() { constructor() {
this.label = 'Cohere Embeddings' this.label = 'Cohere Embeddings'
this.name = 'cohereEmbeddings' this.name = 'cohereEmbeddings'
this.version = 1.0
this.type = 'CohereEmbeddings' this.type = 'CohereEmbeddings'
this.icon = 'cohere.png' this.icon = 'cohere.png'
this.category = 'Embeddings' this.category = 'Embeddings'
@@ -5,6 +5,7 @@ import { HuggingFaceInferenceEmbeddings, HuggingFaceInferenceEmbeddingsParams }
class HuggingFaceInferenceEmbedding_Embeddings implements INode { class HuggingFaceInferenceEmbedding_Embeddings implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -16,6 +17,7 @@ class HuggingFaceInferenceEmbedding_Embeddings implements INode {
constructor() { constructor() {
this.label = 'HuggingFace Inference Embeddings' this.label = 'HuggingFace Inference Embeddings'
this.name = 'huggingFaceInferenceEmbeddings' this.name = 'huggingFaceInferenceEmbeddings'
this.version = 1.0
this.type = 'HuggingFaceInferenceEmbeddings' this.type = 'HuggingFaceInferenceEmbeddings'
this.icon = 'huggingface.png' this.icon = 'huggingface.png'
this.category = 'Embeddings' this.category = 'Embeddings'
@@ -4,6 +4,7 @@ import { OpenAIEmbeddings, OpenAIEmbeddingsParams } from 'langchain/embeddings/o
class LocalAIEmbedding_Embeddings implements INode { class LocalAIEmbedding_Embeddings implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -14,6 +15,7 @@ class LocalAIEmbedding_Embeddings implements INode {
constructor() { constructor() {
this.label = 'LocalAI Embeddings' this.label = 'LocalAI Embeddings'
this.name = 'localAIEmbeddings' this.name = 'localAIEmbeddings'
this.version = 1.0
this.type = 'LocalAI Embeddings' this.type = 'LocalAI Embeddings'
this.icon = 'localai.png' this.icon = 'localai.png'
this.category = 'Embeddings' this.category = 'Embeddings'
@@ -5,6 +5,7 @@ import { OpenAIEmbeddings, OpenAIEmbeddingsParams } from 'langchain/embeddings/o
class OpenAIEmbedding_Embeddings implements INode { class OpenAIEmbedding_Embeddings implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -16,6 +17,7 @@ class OpenAIEmbedding_Embeddings implements INode {
constructor() { constructor() {
this.label = 'OpenAI Embeddings' this.label = 'OpenAI Embeddings'
this.name = 'openAIEmbeddings' this.name = 'openAIEmbeddings'
this.version = 1.0
this.type = 'OpenAIEmbeddings' this.type = 'OpenAIEmbeddings'
this.icon = 'openai.png' this.icon = 'openai.png'
this.category = 'Embeddings' this.category = 'Embeddings'
@@ -5,6 +5,7 @@ import { AzureOpenAIInput, OpenAI, OpenAIInput } from 'langchain/llms/openai'
class AzureOpenAI_LLMs implements INode { class AzureOpenAI_LLMs implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -16,6 +17,7 @@ class AzureOpenAI_LLMs implements INode {
constructor() { constructor() {
this.label = 'Azure OpenAI' this.label = 'Azure OpenAI'
this.name = 'azureOpenAI' this.name = 'azureOpenAI'
this.version = 1.0
this.type = 'AzureOpenAI' this.type = 'AzureOpenAI'
this.icon = 'Azure.svg' this.icon = 'Azure.svg'
this.category = 'LLMs' this.category = 'LLMs'
@@ -89,6 +91,7 @@ class AzureOpenAI_LLMs implements INode {
label: 'Temperature', label: 'Temperature',
name: 'temperature', name: 'temperature',
type: 'number', type: 'number',
step: 0.1,
default: 0.9, default: 0.9,
optional: true optional: true
}, },
@@ -96,6 +99,7 @@ class AzureOpenAI_LLMs implements INode {
label: 'Max Tokens', label: 'Max Tokens',
name: 'maxTokens', name: 'maxTokens',
type: 'number', type: 'number',
step: 1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -103,6 +107,7 @@ class AzureOpenAI_LLMs implements INode {
label: 'Top Probability', label: 'Top Probability',
name: 'topP', name: 'topP',
type: 'number', type: 'number',
step: 0.1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -110,6 +115,7 @@ class AzureOpenAI_LLMs implements INode {
label: 'Best Of', label: 'Best Of',
name: 'bestOf', name: 'bestOf',
type: 'number', type: 'number',
step: 1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -117,6 +123,7 @@ class AzureOpenAI_LLMs implements INode {
label: 'Frequency Penalty', label: 'Frequency Penalty',
name: 'frequencyPenalty', name: 'frequencyPenalty',
type: 'number', type: 'number',
step: 0.1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -124,6 +131,7 @@ class AzureOpenAI_LLMs implements INode {
label: 'Presence Penalty', label: 'Presence Penalty',
name: 'presencePenalty', name: 'presencePenalty',
type: 'number', type: 'number',
step: 0.1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -131,6 +139,7 @@ class AzureOpenAI_LLMs implements INode {
label: 'Timeout', label: 'Timeout',
name: 'timeout', name: 'timeout',
type: 'number', type: 'number',
step: 1,
optional: true, optional: true,
additionalParams: true additionalParams: true
} }
@@ -166,8 +175,8 @@ class AzureOpenAI_LLMs implements INode {
if (maxTokens) obj.maxTokens = parseInt(maxTokens, 10) if (maxTokens) obj.maxTokens = parseInt(maxTokens, 10)
if (topP) obj.topP = parseFloat(topP) if (topP) obj.topP = parseFloat(topP)
if (frequencyPenalty) obj.frequencyPenalty = parseInt(frequencyPenalty, 10) if (frequencyPenalty) obj.frequencyPenalty = parseFloat(frequencyPenalty)
if (presencePenalty) obj.presencePenalty = parseInt(presencePenalty, 10) if (presencePenalty) obj.presencePenalty = parseFloat(presencePenalty)
if (timeout) obj.timeout = parseInt(timeout, 10) if (timeout) obj.timeout = parseInt(timeout, 10)
if (bestOf) obj.bestOf = parseInt(bestOf, 10) if (bestOf) obj.bestOf = parseInt(bestOf, 10)
@@ -5,6 +5,7 @@ import { Cohere, CohereInput } from './core'
class Cohere_LLMs implements INode { class Cohere_LLMs implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -16,6 +17,7 @@ class Cohere_LLMs implements INode {
constructor() { constructor() {
this.label = 'Cohere' this.label = 'Cohere'
this.name = 'cohere' this.name = 'cohere'
this.version = 1.0
this.type = 'Cohere' this.type = 'Cohere'
this.icon = 'cohere.png' this.icon = 'cohere.png'
this.category = 'LLMs' this.category = 'LLMs'
@@ -65,6 +67,7 @@ class Cohere_LLMs implements INode {
label: 'Temperature', label: 'Temperature',
name: 'temperature', name: 'temperature',
type: 'number', type: 'number',
step: 0.1,
default: 0.7, default: 0.7,
optional: true optional: true
}, },
@@ -72,6 +75,7 @@ class Cohere_LLMs implements INode {
label: 'Max Tokens', label: 'Max Tokens',
name: 'maxTokens', name: 'maxTokens',
type: 'number', type: 'number',
step: 1,
optional: true optional: true
} }
] ]
@@ -5,6 +5,7 @@ import { HFInput, HuggingFaceInference } from './core'
class HuggingFaceInference_LLMs implements INode { class HuggingFaceInference_LLMs implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -16,6 +17,7 @@ class HuggingFaceInference_LLMs implements INode {
constructor() { constructor() {
this.label = 'HuggingFace Inference' this.label = 'HuggingFace Inference'
this.name = 'huggingFaceInference_LLMs' this.name = 'huggingFaceInference_LLMs'
this.version = 1.0
this.type = 'HuggingFaceInference' this.type = 'HuggingFaceInference'
this.icon = 'huggingface.png' this.icon = 'huggingface.png'
this.category = 'LLMs' this.category = 'LLMs'
@@ -48,6 +50,7 @@ class HuggingFaceInference_LLMs implements INode {
label: 'Temperature', label: 'Temperature',
name: 'temperature', name: 'temperature',
type: 'number', type: 'number',
step: 0.1,
description: 'Temperature parameter may not apply to certain model. Please check available model parameters', description: 'Temperature parameter may not apply to certain model. Please check available model parameters',
optional: true, optional: true,
additionalParams: true additionalParams: true
@@ -56,6 +59,7 @@ class HuggingFaceInference_LLMs implements INode {
label: 'Max Tokens', label: 'Max Tokens',
name: 'maxTokens', name: 'maxTokens',
type: 'number', type: 'number',
step: 1,
description: 'Max Tokens parameter may not apply to certain model. Please check available model parameters', description: 'Max Tokens parameter may not apply to certain model. Please check available model parameters',
optional: true, optional: true,
additionalParams: true additionalParams: true
@@ -64,6 +68,7 @@ class HuggingFaceInference_LLMs implements INode {
label: 'Top Probability', label: 'Top Probability',
name: 'topP', name: 'topP',
type: 'number', type: 'number',
step: 0.1,
description: 'Top Probability parameter may not apply to certain model. Please check available model parameters', description: 'Top Probability parameter may not apply to certain model. Please check available model parameters',
optional: true, optional: true,
additionalParams: true additionalParams: true
@@ -72,6 +77,7 @@ class HuggingFaceInference_LLMs implements INode {
label: 'Top K', label: 'Top K',
name: 'hfTopK', name: 'hfTopK',
type: 'number', type: 'number',
step: 0.1,
description: 'Top K parameter may not apply to certain model. Please check available model parameters', description: 'Top K parameter may not apply to certain model. Please check available model parameters',
optional: true, optional: true,
additionalParams: true additionalParams: true
@@ -80,6 +86,7 @@ class HuggingFaceInference_LLMs implements INode {
label: 'Frequency Penalty', label: 'Frequency Penalty',
name: 'frequencyPenalty', name: 'frequencyPenalty',
type: 'number', type: 'number',
step: 0.1,
description: 'Frequency Penalty parameter may not apply to certain model. Please check available model parameters', description: 'Frequency Penalty parameter may not apply to certain model. Please check available model parameters',
optional: true, optional: true,
additionalParams: true additionalParams: true
@@ -108,7 +115,7 @@ class HuggingFaceInference_LLMs implements INode {
if (maxTokens) obj.maxTokens = parseInt(maxTokens, 10) if (maxTokens) obj.maxTokens = parseInt(maxTokens, 10)
if (topP) obj.topP = parseFloat(topP) if (topP) obj.topP = parseFloat(topP)
if (hfTopK) obj.topK = parseFloat(hfTopK) if (hfTopK) obj.topK = parseFloat(hfTopK)
if (frequencyPenalty) obj.frequencyPenalty = parseInt(frequencyPenalty, 10) if (frequencyPenalty) obj.frequencyPenalty = parseFloat(frequencyPenalty)
if (endpoint) obj.endpoint = endpoint if (endpoint) obj.endpoint = endpoint
const huggingFace = new HuggingFaceInference(obj) const huggingFace = new HuggingFaceInference(obj)
@@ -5,6 +5,7 @@ import { OpenAI, OpenAIInput } from 'langchain/llms/openai'
class OpenAI_LLMs implements INode { class OpenAI_LLMs implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -16,6 +17,7 @@ class OpenAI_LLMs implements INode {
constructor() { constructor() {
this.label = 'OpenAI' this.label = 'OpenAI'
this.name = 'openAI' this.name = 'openAI'
this.version = 1.0
this.type = 'OpenAI' this.type = 'OpenAI'
this.icon = 'openai.png' this.icon = 'openai.png'
this.category = 'LLMs' this.category = 'LLMs'
@@ -57,6 +59,7 @@ class OpenAI_LLMs implements INode {
label: 'Temperature', label: 'Temperature',
name: 'temperature', name: 'temperature',
type: 'number', type: 'number',
step: 0.1,
default: 0.7, default: 0.7,
optional: true optional: true
}, },
@@ -64,6 +67,7 @@ class OpenAI_LLMs implements INode {
label: 'Max Tokens', label: 'Max Tokens',
name: 'maxTokens', name: 'maxTokens',
type: 'number', type: 'number',
step: 1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -71,6 +75,7 @@ class OpenAI_LLMs implements INode {
label: 'Top Probability', label: 'Top Probability',
name: 'topP', name: 'topP',
type: 'number', type: 'number',
step: 0.1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -78,6 +83,7 @@ class OpenAI_LLMs implements INode {
label: 'Best Of', label: 'Best Of',
name: 'bestOf', name: 'bestOf',
type: 'number', type: 'number',
step: 1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -85,6 +91,7 @@ class OpenAI_LLMs implements INode {
label: 'Frequency Penalty', label: 'Frequency Penalty',
name: 'frequencyPenalty', name: 'frequencyPenalty',
type: 'number', type: 'number',
step: 0.1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -92,6 +99,7 @@ class OpenAI_LLMs implements INode {
label: 'Presence Penalty', label: 'Presence Penalty',
name: 'presencePenalty', name: 'presencePenalty',
type: 'number', type: 'number',
step: 0.1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -99,6 +107,7 @@ class OpenAI_LLMs implements INode {
label: 'Batch Size', label: 'Batch Size',
name: 'batchSize', name: 'batchSize',
type: 'number', type: 'number',
step: 1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -106,6 +115,7 @@ class OpenAI_LLMs implements INode {
label: 'Timeout', label: 'Timeout',
name: 'timeout', name: 'timeout',
type: 'number', type: 'number',
step: 1,
optional: true, optional: true,
additionalParams: true additionalParams: true
}, },
@@ -144,8 +154,8 @@ class OpenAI_LLMs implements INode {
if (maxTokens) obj.maxTokens = parseInt(maxTokens, 10) if (maxTokens) obj.maxTokens = parseInt(maxTokens, 10)
if (topP) obj.topP = parseFloat(topP) if (topP) obj.topP = parseFloat(topP)
if (frequencyPenalty) obj.frequencyPenalty = parseInt(frequencyPenalty, 10) if (frequencyPenalty) obj.frequencyPenalty = parseFloat(frequencyPenalty)
if (presencePenalty) obj.presencePenalty = parseInt(presencePenalty, 10) if (presencePenalty) obj.presencePenalty = parseFloat(presencePenalty)
if (timeout) obj.timeout = parseInt(timeout, 10) if (timeout) obj.timeout = parseInt(timeout, 10)
if (batchSize) obj.batchSize = parseInt(batchSize, 10) if (batchSize) obj.batchSize = parseInt(batchSize, 10)
if (bestOf) obj.bestOf = parseInt(bestOf, 10) if (bestOf) obj.bestOf = parseInt(bestOf, 10)
@@ -5,6 +5,7 @@ import { Replicate, ReplicateInput } from 'langchain/llms/replicate'
class Replicate_LLMs implements INode { class Replicate_LLMs implements INode {
label: string label: string
name: string name: string
version: number
type: string type: string
icon: string icon: string
category: string category: string
@@ -16,6 +17,7 @@ class Replicate_LLMs implements INode {
constructor() { constructor() {
this.label = 'Replicate' this.label = 'Replicate'
this.name = 'replicate' this.name = 'replicate'
this.version = 1.0
this.type = 'Replicate' this.type = 'Replicate'
this.icon = 'replicate.svg' this.icon = 'replicate.svg'
this.category = 'LLMs' this.category = 'LLMs'
@@ -39,6 +41,7 @@ class Replicate_LLMs implements INode {
label: 'Temperature', label: 'Temperature',
name: 'temperature', name: 'temperature',
type: 'number', type: 'number',
step: 0.1,
description: description:
'Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 is a good starting value.', 'Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 is a good starting value.',
default: 0.7, default: 0.7,
@@ -48,6 +51,7 @@ class Replicate_LLMs implements INode {
label: 'Max Tokens', label: 'Max Tokens',
name: 'maxTokens', name: 'maxTokens',
type: 'number', type: 'number',
step: 1,
description: 'Maximum number of tokens to generate. A word is generally 2-3 tokens', description: 'Maximum number of tokens to generate. A word is generally 2-3 tokens',
optional: true, optional: true,
additionalParams: true additionalParams: true
@@ -56,6 +60,7 @@ class Replicate_LLMs implements INode {
label: 'Top Probability', label: 'Top Probability',
name: 'topP', name: 'topP',
type: 'number', type: 'number',
step: 0.1,
description: description:
'When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens', 'When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens',
optional: true, optional: true,
@@ -65,6 +70,7 @@ class Replicate_LLMs implements INode {
label: 'Repetition Penalty', label: 'Repetition Penalty',
name: 'repetitionPenalty', name: 'repetitionPenalty',
type: 'number', type: 'number',
step: 0.1,
description: description:
'Penalty for repeated words in generated text; 1 is no penalty, values greater than 1 discourage repetition, less than 1 encourage it. (minimum: 0.01; maximum: 5)', 'Penalty for repeated words in generated text; 1 is no penalty, values greater than 1 discourage repetition, less than 1 encourage it. (minimum: 0.01; maximum: 5)',
optional: true, optional: true,
@@ -5,6 +5,7 @@ import { BufferMemory } from 'langchain/memory'
class BufferMemory_Memory implements INode { class BufferMemory_Memory implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class BufferMemory_Memory implements INode {
constructor() { constructor() {
this.label = 'Buffer Memory' this.label = 'Buffer Memory'
this.name = 'bufferMemory' this.name = 'bufferMemory'
this.version = 1.0
this.type = 'BufferMemory' this.type = 'BufferMemory'
this.icon = 'memory.svg' this.icon = 'memory.svg'
this.category = 'Memory' this.category = 'Memory'
@@ -5,6 +5,7 @@ import { BufferWindowMemory, BufferWindowMemoryInput } from 'langchain/memory'
class BufferWindowMemory_Memory implements INode { class BufferWindowMemory_Memory implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class BufferWindowMemory_Memory implements INode {
constructor() { constructor() {
this.label = 'Buffer Window Memory' this.label = 'Buffer Window Memory'
this.name = 'bufferWindowMemory' this.name = 'bufferWindowMemory'
this.version = 1.0
this.type = 'BufferWindowMemory' this.type = 'BufferWindowMemory'
this.icon = 'memory.svg' this.icon = 'memory.svg'
this.category = 'Memory' this.category = 'Memory'
@@ -6,6 +6,7 @@ import { BaseLanguageModel } from 'langchain/base_language'
class ConversationSummaryMemory_Memory implements INode { class ConversationSummaryMemory_Memory implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -16,6 +17,7 @@ class ConversationSummaryMemory_Memory implements INode {
constructor() { constructor() {
this.label = 'Conversation Summary Memory' this.label = 'Conversation Summary Memory'
this.name = 'conversationSummaryMemory' this.name = 'conversationSummaryMemory'
this.version = 1.0
this.type = 'ConversationSummaryMemory' this.type = 'ConversationSummaryMemory'
this.icon = 'memory.svg' this.icon = 'memory.svg'
this.category = 'Memory' this.category = 'Memory'
@@ -5,6 +5,7 @@ import { BufferMemory } from 'langchain/memory'
class DynamoDb_Memory implements INode { class DynamoDb_Memory implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -16,6 +17,7 @@ class DynamoDb_Memory implements INode {
constructor() { constructor() {
this.label = 'DynamoDB Chat Memory' this.label = 'DynamoDB Chat Memory'
this.name = 'DynamoDBChatMemory' this.name = 'DynamoDBChatMemory'
this.version = 1.0
this.type = 'DynamoDBChatMemory' this.type = 'DynamoDBChatMemory'
this.icon = 'dynamodb.svg' this.icon = 'dynamodb.svg'
this.category = 'Memory' this.category = 'Memory'
@@ -6,6 +6,7 @@ import { MotorheadMemory, MotorheadMemoryInput } from 'langchain/memory'
class MotorMemory_Memory implements INode { class MotorMemory_Memory implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -17,6 +18,7 @@ class MotorMemory_Memory implements INode {
constructor() { constructor() {
this.label = 'Motorhead Memory' this.label = 'Motorhead Memory'
this.name = 'motorheadMemory' this.name = 'motorheadMemory'
this.version = 1.0
this.type = 'MotorheadMemory' this.type = 'MotorheadMemory'
this.icon = 'motorhead.png' this.icon = 'motorhead.png'
this.category = 'Memory' this.category = 'Memory'
@@ -8,6 +8,7 @@ import { createClient } from 'redis'
class RedisBackedChatMemory_Memory implements INode { class RedisBackedChatMemory_Memory implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -18,6 +19,7 @@ class RedisBackedChatMemory_Memory implements INode {
constructor() { constructor() {
this.label = 'Redis-Backed Chat Memory' this.label = 'Redis-Backed Chat Memory'
this.name = 'RedisBackedChatMemory' this.name = 'RedisBackedChatMemory'
this.version = 1.0
this.type = 'RedisBackedChatMemory' this.type = 'RedisBackedChatMemory'
this.icon = 'redis.svg' this.icon = 'redis.svg'
this.category = 'Memory' this.category = 'Memory'
@@ -7,6 +7,7 @@ import { ICommonObject } from '../../../src'
class ZepMemory_Memory implements INode { class ZepMemory_Memory implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -18,6 +19,7 @@ class ZepMemory_Memory implements INode {
constructor() { constructor() {
this.label = 'Zep Memory' this.label = 'Zep Memory'
this.name = 'ZepMemory' this.name = 'ZepMemory'
this.version = 1.0
this.type = 'ZepMemory' this.type = 'ZepMemory'
this.icon = 'zep.png' this.icon = 'zep.png'
this.category = 'Memory' this.category = 'Memory'
@@ -58,7 +60,6 @@ class ZepMemory_Memory implements INode {
name: 'k', name: 'k',
type: 'number', type: 'number',
default: '10', default: '10',
step: 1,
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-forths to use as memory.'
}, },
{ {
@@ -5,6 +5,7 @@ import { ChatPromptTemplate, SystemMessagePromptTemplate, HumanMessagePromptTemp
class ChatPromptTemplate_Prompts implements INode { class ChatPromptTemplate_Prompts implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class ChatPromptTemplate_Prompts implements INode {
constructor() { constructor() {
this.label = 'Chat Prompt Template' this.label = 'Chat Prompt Template'
this.name = 'chatPromptTemplate' this.name = 'chatPromptTemplate'
this.version = 1.0
this.type = 'ChatPromptTemplate' this.type = 'ChatPromptTemplate'
this.icon = 'prompt.svg' this.icon = 'prompt.svg'
this.category = 'Prompts' this.category = 'Prompts'
@@ -7,6 +7,7 @@ import { TemplateFormat } from 'langchain/dist/prompts/template'
class FewShotPromptTemplate_Prompts implements INode { class FewShotPromptTemplate_Prompts implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -17,6 +18,7 @@ class FewShotPromptTemplate_Prompts implements INode {
constructor() { constructor() {
this.label = 'Few Shot Prompt Template' this.label = 'Few Shot Prompt Template'
this.name = 'fewShotPromptTemplate' this.name = 'fewShotPromptTemplate'
this.version = 1.0
this.type = 'FewShotPromptTemplate' this.type = 'FewShotPromptTemplate'
this.icon = 'prompt.svg' this.icon = 'prompt.svg'
this.category = 'Prompts' this.category = 'Prompts'
@@ -5,6 +5,7 @@ import { PromptTemplateInput } from 'langchain/prompts'
class PromptTemplate_Prompts implements INode { class PromptTemplate_Prompts implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class PromptTemplate_Prompts implements INode {
constructor() { constructor() {
this.label = 'Prompt Template' this.label = 'Prompt Template'
this.name = 'promptTemplate' this.name = 'promptTemplate'
this.version = 1.0
this.type = 'PromptTemplate' this.type = 'PromptTemplate'
this.icon = 'prompt.svg' this.icon = 'prompt.svg'
this.category = 'Prompts' this.category = 'Prompts'
@@ -7,6 +7,7 @@ import { PromptTemplate } from 'langchain/prompts'
class HydeRetriever_Retrievers implements INode { class HydeRetriever_Retrievers implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -17,6 +18,7 @@ class HydeRetriever_Retrievers implements INode {
constructor() { constructor() {
this.label = 'Hyde Retriever' this.label = 'Hyde Retriever'
this.name = 'HydeRetriever' this.name = 'HydeRetriever'
this.version = 1.0
this.type = 'HydeRetriever' this.type = 'HydeRetriever'
this.icon = 'hyderetriever.svg' this.icon = 'hyderetriever.svg'
this.category = 'Retrievers' this.category = 'Retrievers'
@@ -3,6 +3,7 @@ import { INode, INodeData, INodeParams, PromptRetriever, PromptRetrieverInput }
class PromptRetriever_Retrievers implements INode { class PromptRetriever_Retrievers implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -13,6 +14,7 @@ class PromptRetriever_Retrievers implements INode {
constructor() { constructor() {
this.label = 'Prompt Retriever' this.label = 'Prompt Retriever'
this.name = 'promptRetriever' this.name = 'promptRetriever'
this.version = 1.0
this.type = 'PromptRetriever' this.type = 'PromptRetriever'
this.icon = 'promptretriever.svg' this.icon = 'promptretriever.svg'
this.category = 'Retrievers' this.category = 'Retrievers'
@@ -4,6 +4,7 @@ import { INode, INodeData, INodeParams, VectorStoreRetriever, VectorStoreRetriev
class VectorStoreRetriever_Retrievers implements INode { class VectorStoreRetriever_Retrievers implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -14,6 +15,7 @@ class VectorStoreRetriever_Retrievers implements INode {
constructor() { constructor() {
this.label = 'Vector Store Retriever' this.label = 'Vector Store Retriever'
this.name = 'vectorStoreRetriever' this.name = 'vectorStoreRetriever'
this.version = 1.0
this.type = 'VectorStoreRetriever' this.type = 'VectorStoreRetriever'
this.icon = 'vectorretriever.svg' this.icon = 'vectorretriever.svg'
this.category = 'Retrievers' this.category = 'Retrievers'
@@ -5,6 +5,7 @@ import { CharacterTextSplitter, CharacterTextSplitterParams } from 'langchain/te
class CharacterTextSplitter_TextSplitters implements INode { class CharacterTextSplitter_TextSplitters implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class CharacterTextSplitter_TextSplitters implements INode {
constructor() { constructor() {
this.label = 'Character Text Splitter' this.label = 'Character Text Splitter'
this.name = 'characterTextSplitter' this.name = 'characterTextSplitter'
this.version = 1.0
this.type = 'CharacterTextSplitter' this.type = 'CharacterTextSplitter'
this.icon = 'textsplitter.svg' this.icon = 'textsplitter.svg'
this.category = 'Text Splitters' this.category = 'Text Splitters'
@@ -9,6 +9,7 @@ import {
class CodeTextSplitter_TextSplitters implements INode { class CodeTextSplitter_TextSplitters implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -18,6 +19,7 @@ class CodeTextSplitter_TextSplitters implements INode {
constructor() { constructor() {
this.label = 'Code Text Splitter' this.label = 'Code Text Splitter'
this.name = 'codeTextSplitter' this.name = 'codeTextSplitter'
this.version = 1.0
this.type = 'CodeTextSplitter' this.type = 'CodeTextSplitter'
this.icon = 'codeTextSplitter.svg' this.icon = 'codeTextSplitter.svg'
this.category = 'Text Splitters' this.category = 'Text Splitters'
@@ -6,6 +6,7 @@ import { NodeHtmlMarkdown } from 'node-html-markdown'
class HtmlToMarkdownTextSplitter_TextSplitters implements INode { class HtmlToMarkdownTextSplitter_TextSplitters implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -16,6 +17,7 @@ class HtmlToMarkdownTextSplitter_TextSplitters implements INode {
constructor() { constructor() {
this.label = 'HtmlToMarkdown Text Splitter' this.label = 'HtmlToMarkdown Text Splitter'
this.name = 'htmlToMarkdownTextSplitter' this.name = 'htmlToMarkdownTextSplitter'
this.version = 1.0
this.type = 'HtmlToMarkdownTextSplitter' this.type = 'HtmlToMarkdownTextSplitter'
this.icon = 'htmlToMarkdownTextSplitter.svg' this.icon = 'htmlToMarkdownTextSplitter.svg'
this.category = 'Text Splitters' this.category = 'Text Splitters'
@@ -5,6 +5,7 @@ import { MarkdownTextSplitter, MarkdownTextSplitterParams } from 'langchain/text
class MarkdownTextSplitter_TextSplitters implements INode { class MarkdownTextSplitter_TextSplitters implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class MarkdownTextSplitter_TextSplitters implements INode {
constructor() { constructor() {
this.label = 'Markdown Text Splitter' this.label = 'Markdown Text Splitter'
this.name = 'markdownTextSplitter' this.name = 'markdownTextSplitter'
this.version = 1.0
this.type = 'MarkdownTextSplitter' this.type = 'MarkdownTextSplitter'
this.icon = 'markdownTextSplitter.svg' this.icon = 'markdownTextSplitter.svg'
this.category = 'Text Splitters' this.category = 'Text Splitters'
@@ -5,6 +5,7 @@ import { RecursiveCharacterTextSplitter, RecursiveCharacterTextSplitterParams }
class RecursiveCharacterTextSplitter_TextSplitters implements INode { class RecursiveCharacterTextSplitter_TextSplitters implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class RecursiveCharacterTextSplitter_TextSplitters implements INode {
constructor() { constructor() {
this.label = 'Recursive Character Text Splitter' this.label = 'Recursive Character Text Splitter'
this.name = 'recursiveCharacterTextSplitter' this.name = 'recursiveCharacterTextSplitter'
this.version = 1.0
this.type = 'RecursiveCharacterTextSplitter' this.type = 'RecursiveCharacterTextSplitter'
this.icon = 'textsplitter.svg' this.icon = 'textsplitter.svg'
this.category = 'Text Splitters' this.category = 'Text Splitters'
@@ -6,6 +6,7 @@ import { TiktokenEncoding } from '@dqbd/tiktoken'
class TokenTextSplitter_TextSplitters implements INode { class TokenTextSplitter_TextSplitters implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -16,6 +17,7 @@ class TokenTextSplitter_TextSplitters implements INode {
constructor() { constructor() {
this.label = 'Token Text Splitter' this.label = 'Token Text Splitter'
this.name = 'tokenTextSplitter' this.name = 'tokenTextSplitter'
this.version = 1.0
this.type = 'TokenTextSplitter' this.type = 'TokenTextSplitter'
this.icon = 'tiktoken.svg' this.icon = 'tiktoken.svg'
this.category = 'Text Splitters' this.category = 'Text Splitters'
@@ -5,6 +5,7 @@ import { getBaseClasses } from '../../../src/utils'
class AIPlugin implements INode { class AIPlugin implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -15,6 +16,7 @@ class AIPlugin implements INode {
constructor() { constructor() {
this.label = 'AI Plugin' this.label = 'AI Plugin'
this.name = 'aiPlugin' this.name = 'aiPlugin'
this.version = 1.0
this.type = 'AIPlugin' this.type = 'AIPlugin'
this.icon = 'aiplugin.svg' this.icon = 'aiplugin.svg'
this.category = 'Tools' this.category = 'Tools'
@@ -5,6 +5,7 @@ import { BraveSearch } from 'langchain/tools'
class BraveSearchAPI_Tools implements INode { class BraveSearchAPI_Tools implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -16,6 +17,7 @@ class BraveSearchAPI_Tools implements INode {
constructor() { constructor() {
this.label = 'BraveSearch API' this.label = 'BraveSearch API'
this.name = 'braveSearchAPI' this.name = 'braveSearchAPI'
this.version = 1.0
this.type = 'BraveSearchAPI' this.type = 'BraveSearchAPI'
this.icon = 'brave.svg' this.icon = 'brave.svg'
this.category = 'Tools' this.category = 'Tools'
@@ -5,6 +5,7 @@ import { Calculator } from 'langchain/tools/calculator'
class Calculator_Tools implements INode { class Calculator_Tools implements INode {
label: string label: string
name: string name: string
version: number
description: string description: string
type: string type: string
icon: string icon: string
@@ -14,6 +15,7 @@ class Calculator_Tools implements INode {
constructor() { constructor() {
this.label = 'Calculator' this.label = 'Calculator'
this.name = 'calculator' this.name = 'calculator'
this.version = 1.0
this.type = 'Calculator' this.type = 'Calculator'
this.icon = 'calculator.svg' this.icon = 'calculator.svg'
this.category = 'Tools' this.category = 'Tools'

Some files were not shown because too many files have changed in this diff Show More