mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 11:00:55 +03:00
feat: Add Opik Tracer integration (#4194)
This update adds support for Opik tracer in Flowise. It includes new credential components, analytic nodes, and UI assets for both tracers. The changes enhance observability by allowing users to integrate Opik for better model monitoring, analysis and evaluation.
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
import { INodeParams, INodeCredential } from '../src/Interface'
|
||||
|
||||
class OpikApi implements INodeCredential {
|
||||
label: string
|
||||
name: string
|
||||
version: number
|
||||
description: string
|
||||
inputs: INodeParams[]
|
||||
|
||||
constructor() {
|
||||
this.label = 'Opik API'
|
||||
this.name = 'opikApi'
|
||||
this.version = 1.0
|
||||
this.description =
|
||||
'Refer to <a target="_blank" href="https://www.comet.com/docs/opik/tracing/sdk_configuration">Opik documentation</a> on how to configure Opik credentials'
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'API Key',
|
||||
name: 'opikApiKey',
|
||||
type: 'password',
|
||||
placeholder: '<OPIK_API_KEY>'
|
||||
},
|
||||
{
|
||||
label: 'URL',
|
||||
name: 'opikUrl',
|
||||
type: 'string',
|
||||
placeholder: 'https://www.comet.com/opik/api'
|
||||
},
|
||||
{
|
||||
label: 'Workspace',
|
||||
name: 'opikWorkspace',
|
||||
type: 'string',
|
||||
placeholder: 'default'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = { credClass: OpikApi }
|
||||
Reference in New Issue
Block a user