mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 23:01:09 +03:00
add baseClasses for outputs
This commit is contained in:
@@ -43,14 +43,14 @@ class LLMChain_Chains implements INode {
|
||||
]
|
||||
this.outputs = [
|
||||
{
|
||||
label: this.label,
|
||||
name: this.name,
|
||||
type: this.type
|
||||
label: 'LLM Chain',
|
||||
name: 'llmChain',
|
||||
baseClasses: [this.type, ...getBaseClasses(LLMChain)]
|
||||
},
|
||||
{
|
||||
label: 'Output Prediction',
|
||||
name: 'outputPrediction',
|
||||
type: 'string'
|
||||
baseClasses: ['string']
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ export interface INodeOptionsValue {
|
||||
export interface INodeOutputsValue {
|
||||
label: string
|
||||
name: string
|
||||
type: string
|
||||
baseClasses: string[]
|
||||
description?: string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user