Skip to main content

Input

Type: any any - The data type that SubgraphNode accepts as input

Output

Type: any any - The data type that SubgraphNode outputs

Examples

const subgraphNode = new SubgraphNode({
id: 'intent-processing-subgraph',
parameters: {
confidence_threshold: 0.8,
max_intents: 5,
fallback_enabled: true
}
});

Constructors

Interfaces


Constructors

constructor

new SubgraphNode(props: SubgraphNodeProps): SubgraphNode
Creates a new SubgraphNode instance.

Parameters

props
SubgraphNodeProps
required
Configuration for the subgraph node.

Returns

SubgraphNode

Interfaces

SubgraphNodeProps

Configuration interface for SubgraphNode creation.

Properties

subgraphId: string ID of the subgraph to reference parameters?: { [k: string]: string | number | boolean; } Parameters to pass to the subgraph