Commit 2a4db08 2 people authored and committed
1 parent 496ab93 commit 2a4db08 Copy full SHA for 2a4db08
File tree 13 files changed +36068
-35455
lines changed
13 files changed +36068
-35455
lines changed Original file line number Diff line number Diff line change 71
71
},
72
72
"resolutions" : {
73
73
"@google/generative-ai" : " ^0.15.0" ,
74
+ "@grpc/grpc-js" : " ^1.10.10" ,
74
75
"@langchain/core" : " 0.3.37" ,
75
76
"@qdrant/openapi-typescript-fetch" : " 1.2.6" ,
76
77
"openai" : " 4.82.0" ,
Original file line number Diff line number Diff line change
1
+ import { INodeParams , INodeCredential } from '../src/Interface'
2
+
3
+ class ArizeApi implements INodeCredential {
4
+ label : string
5
+ name : string
6
+ version : number
7
+ description : string
8
+ inputs : INodeParams [ ]
9
+
10
+ constructor ( ) {
11
+ this . label = 'Arize API'
12
+ this . name = 'arizeApi'
13
+ this . version = 1.0
14
+ this . description =
15
+ 'Refer to <a target="_blank" href="https://docs.arize.com/arize">official guide</a> on how to get API keys on Arize.'
16
+ this . inputs = [
17
+ {
18
+ label : 'API Key' ,
19
+ name : 'arizeApiKey' ,
20
+ type : 'password' ,
21
+ placeholder : '<ARIZE_API_KEY>'
22
+ } ,
23
+ {
24
+ label : 'Space ID' ,
25
+ name : 'arizeSpaceId' ,
26
+ type : 'string' ,
27
+ placeholder : '<ARIZE_SPACE_ID>'
28
+ } ,
29
+ {
30
+ label : 'Endpoint' ,
31
+ name : 'arizeEndpoint' ,
32
+ type : 'string' ,
33
+ default : 'https://otlp.arize.com'
34
+ }
35
+ ]
36
+ }
37
+ }
38
+
39
+ module . exports = { credClass : ArizeApi }
Original file line number Diff line number Diff line change
1
+ import { INodeParams , INodeCredential } from '../src/Interface'
2
+
3
+ class PhoenixApi implements INodeCredential {
4
+ label : string
5
+ name : string
6
+ version : number
7
+ description : string
8
+ inputs : INodeParams [ ]
9
+
10
+ constructor ( ) {
11
+ this . label = 'Phoenix API'
12
+ this . name = 'phoenixApi'
13
+ this . version = 1.0
14
+ this . description =
15
+ 'Refer to <a target="_blank" href="https://docs.arize.com/phoenix">official guide</a> on how to get API keys on Phoenix.'
16
+ this . inputs = [
17
+ {
18
+ label : 'API Key' ,
19
+ name : 'phoenixApiKey' ,
20
+ type : 'password' ,
21
+ placeholder : '<PHOENIX_API_KEY>'
22
+ } ,
23
+ {
24
+ label : 'Endpoint' ,
25
+ name : 'phoenixEndpoint' ,
26
+ type : 'string' ,
27
+ default : 'https://app.phoenix.arize.com'
28
+ }
29
+ ]
30
+ }
31
+ }
32
+
33
+ module . exports = { credClass : PhoenixApi }
Original file line number Diff line number Diff line change
1
+ import { INode , INodeParams } from '../../../src/Interface'
2
+
3
+ class Arize_Analytic implements INode {
4
+ label : string
5
+ name : string
6
+ version : number
7
+ description : string
8
+ type : string
9
+ icon : string
10
+ category : string
11
+ baseClasses : string [ ]
12
+ inputs ?: INodeParams [ ]
13
+ credential : INodeParams
14
+
15
+ constructor ( ) {
16
+ this . label = 'Arize'
17
+ this . name = 'arize'
18
+ this . version = 1.0
19
+ this . type = 'Arize'
20
+ this . icon = 'arize.png'
21
+ this . category = 'Analytic'
22
+ this . baseClasses = [ this . type ]
23
+ this . inputs = [ ]
24
+ this . credential = {
25
+ label : 'Connect Credential' ,
26
+ name : 'credential' ,
27
+ type : 'credential' ,
28
+ credentialNames : [ 'arizeApi' ]
29
+ }
30
+ }
31
+ }
32
+
33
+ module . exports = { nodeClass : Arize_Analytic }
Original file line number Diff line number Diff line change
1
+ import { INode , INodeParams } from '../../../src/Interface'
2
+
3
+ class Phoenix_Analytic implements INode {
4
+ label : string
5
+ name : string
6
+ version : number
7
+ description : string
8
+ type : string
9
+ icon : string
10
+ category : string
11
+ baseClasses : string [ ]
12
+ inputs ?: INodeParams [ ]
13
+ credential : INodeParams
14
+
15
+ constructor ( ) {
16
+ this . label = 'Phoenix'
17
+ this . name = 'phoenix'
18
+ this . version = 1.0
19
+ this . type = 'Phoenix'
20
+ this . icon = 'phoenix.png'
21
+ this . category = 'Analytic'
22
+ this . baseClasses = [ this . type ]
23
+ this . inputs = [ ]
24
+ this . credential = {
25
+ label : 'Connect Credential' ,
26
+ name : 'credential' ,
27
+ type : 'credential' ,
28
+ credentialNames : [ 'phoenixApi' ]
29
+ }
30
+ }
31
+ }
32
+
33
+ module . exports = { nodeClass : Phoenix_Analytic }
Original file line number Diff line number Diff line change 21
21
"license" : " SEE LICENSE IN LICENSE.md" ,
22
22
"dependencies" : {
23
23
"@apidevtools/json-schema-ref-parser" : " ^11.7.0" ,
24
+ "@arizeai/openinference-instrumentation-langchain" : " ^2.0.0" ,
24
25
"@aws-sdk/client-bedrock-runtime" : " 3.422.0" ,
25
26
"@aws-sdk/client-dynamodb" : " ^3.360.0" ,
26
27
"@aws-sdk/client-s3" : " ^3.427.0" ,
You can’t perform that action at this time.
0 commit comments