add analytic

This commit is contained in:
Henry
2023-09-11 23:44:20 +01:00
parent 0a5d453338
commit d19f72db6f
42 changed files with 742 additions and 82 deletions
@@ -0,0 +1,33 @@
import { INode, INodeParams } from '../../../src/Interface'
class LangSmith_Analytic implements INode {
label: string
name: string
version: number
description: string
type: string
icon: string
category: string
baseClasses: string[]
inputs?: INodeParams[]
credential: INodeParams
constructor() {
this.label = 'LangSmith'
this.name = 'langSmith'
this.version = 1.0
this.type = 'LangSmith'
this.icon = 'langchain.png'
this.category = 'Analytic'
this.baseClasses = [this.type]
this.inputs = []
this.credential = {
label: 'Connect Credential',
name: 'credential',
type: 'credential',
credentialNames: ['langsmithApi']
}
}
}
module.exports = { nodeClass: LangSmith_Analytic }
Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB