Package com.alibaba.cloud.ai.node
Class TableRelationNode
java.lang.Object
com.alibaba.cloud.ai.node.TableRelationNode
- All Implemented Interfaces:
NodeAction
Table relationship inference node that automatically completes complex structures like
JOINs and foreign keys.
This node is responsible for: - Inferring relationships between tables and fields -
Building initial schema from documents - Processing schema selection based on input and
evidence - Handling schema advice for missing information
- Author:
- zhangshenghang
-
Constructor Summary
ConstructorsConstructorDescriptionTableRelationNode(BaseSchemaService baseSchemaService, BaseNl2SqlService baseNl2SqlService, BusinessKnowledgeRecallService businessKnowledgeRecallService, SemanticModelRecallService semanticModelRecallService) -
Method Summary
-
Constructor Details
-
TableRelationNode
public TableRelationNode(BaseSchemaService baseSchemaService, BaseNl2SqlService baseNl2SqlService, BusinessKnowledgeRecallService businessKnowledgeRecallService, SemanticModelRecallService semanticModelRecallService)
-
-
Method Details
-
apply
- Specified by:
applyin interfaceNodeAction- Throws:
Exception
-