-
-
Notifications
You must be signed in to change notification settings - Fork 17k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump langchain version to 0.3, upgrades on all chat models * update all docs loader to have documents and text output options * fix pnpm lock file
- Loading branch information
1 parent
126808b
commit 940c8fd
Showing
82 changed files
with
2,364 additions
and
1,531 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
import { INodeParams, INodeCredential } from '../src/Interface' | ||
|
||
class BaiduApi implements INodeCredential { | ||
class BaiduQianfanApi implements INodeCredential { | ||
label: string | ||
name: string | ||
version: number | ||
inputs: INodeParams[] | ||
|
||
constructor() { | ||
this.label = 'Baidu API' | ||
this.name = 'baiduApi' | ||
this.version = 1.0 | ||
this.label = 'Baidu Qianfan API' | ||
this.name = 'baiduQianfanApi' | ||
this.version = 2.0 | ||
this.inputs = [ | ||
{ | ||
label: 'Baidu Api Key', | ||
name: 'baiduApiKey', | ||
type: 'password' | ||
label: 'Qianfan Access Key', | ||
name: 'qianfanAccessKey', | ||
type: 'string' | ||
}, | ||
{ | ||
label: 'Baidu Secret Key', | ||
name: 'baiduSecretKey', | ||
label: 'Qianfan Secret Key', | ||
name: 'qianfanSecretKey', | ||
type: 'password' | ||
} | ||
] | ||
} | ||
} | ||
|
||
module.exports = { credClass: BaiduApi } | ||
module.exports = { credClass: BaiduQianfanApi } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
import { INodeParams, INodeCredential } from '../src/Interface' | ||
|
||
class IBMWatsonxCredential implements INodeCredential { | ||
label: string | ||
name: string | ||
version: number | ||
description: string | ||
inputs: INodeParams[] | ||
|
||
constructor() { | ||
this.label = 'IBM Watsonx' | ||
this.name = 'ibmWatsonx' | ||
this.version = 1.0 | ||
this.inputs = [ | ||
{ | ||
label: 'Version', | ||
name: 'version', | ||
type: 'string', | ||
placeholder: 'YYYY-MM-DD' | ||
}, | ||
{ | ||
label: 'Service URL', | ||
name: 'serviceUrl', | ||
type: 'string', | ||
placeholder: '<SERVICE_URL>' | ||
}, | ||
{ | ||
label: 'Project ID', | ||
name: 'projectId', | ||
type: 'string', | ||
placeholder: '<PROJECT_ID>' | ||
}, | ||
{ | ||
label: 'Watsonx AI Auth Type', | ||
name: 'watsonxAIAuthType', | ||
type: 'options', | ||
options: [ | ||
{ | ||
label: 'IAM', | ||
name: 'iam' | ||
}, | ||
{ | ||
label: 'Bearer Token', | ||
name: 'bearertoken' | ||
} | ||
], | ||
default: 'iam' | ||
}, | ||
{ | ||
label: 'Watsonx AI IAM API Key', | ||
name: 'watsonxAIApikey', | ||
type: 'password', | ||
description: 'API Key for Watsonx AI when using IAM', | ||
placeholder: '<YOUR-APIKEY>', | ||
optional: true | ||
}, | ||
{ | ||
label: 'Watsonx AI Bearer Token', | ||
name: 'watsonxAIBearerToken', | ||
type: 'password', | ||
description: 'Bearer Token for Watsonx AI when using Bearer Token', | ||
placeholder: '<YOUR-BEARER-TOKEN>', | ||
optional: true | ||
} | ||
] | ||
} | ||
} | ||
|
||
module.exports = { credClass: IBMWatsonxCredential } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { INodeParams, INodeCredential } from '../src/Interface' | ||
|
||
class XaiApi implements INodeCredential { | ||
label: string | ||
name: string | ||
version: number | ||
description: string | ||
inputs: INodeParams[] | ||
|
||
constructor() { | ||
this.label = 'Xai API' | ||
this.name = 'xaiApi' | ||
this.version = 1.0 | ||
this.inputs = [ | ||
{ | ||
label: 'X AI API Key', | ||
name: 'xaiApiKey', | ||
type: 'password' | ||
} | ||
] | ||
} | ||
} | ||
|
||
module.exports = { credClass: XaiApi } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.