mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 19:00:59 +03:00
feat: Add Arize & Phoenix Tracer Integration (#4046)
Added Arize Phoenix Tracer Co-authored-by: Ilango <ilango.rajagopal@flowiseai.com>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
import { INodeParams, INodeCredential } from '../src/Interface'
|
||||
|
||||
class PhoenixApi implements INodeCredential {
|
||||
label: string
|
||||
name: string
|
||||
version: number
|
||||
description: string
|
||||
inputs: INodeParams[]
|
||||
|
||||
constructor() {
|
||||
this.label = 'Phoenix API'
|
||||
this.name = 'phoenixApi'
|
||||
this.version = 1.0
|
||||
this.description =
|
||||
'Refer to <a target="_blank" href="https://docs.arize.com/phoenix">official guide</a> on how to get API keys on Phoenix.'
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'API Key',
|
||||
name: 'phoenixApiKey',
|
||||
type: 'password',
|
||||
placeholder: '<PHOENIX_API_KEY>'
|
||||
},
|
||||
{
|
||||
label: 'Endpoint',
|
||||
name: 'phoenixEndpoint',
|
||||
type: 'string',
|
||||
default: 'https://app.phoenix.arize.com'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = { credClass: PhoenixApi }
|
||||
Reference in New Issue
Block a user