-
Notifications
You must be signed in to change notification settings - Fork 47
5、添加业务知识
supinyu edited this page May 14, 2024
·
2 revisions
由于大语言模型可能缺乏相关的行业知识,所以需要补充相关的业务知识
- 点击Entity_Management
Entity,主要是写实体的名称
Comment,主要是写实体的解释,比如,该实体需要查哪个字段/该实体在表的值是多少/具体公式的计算逻辑/业务名字的相关解释等
- 点击Index_Management
Question,主要是用户问题
Answer(SQL),主要是针对该问题的查询SQL
- 点击Agent_Cot_Management
Query,用户复杂的业务问题
Comment,针对该问题的分析思路,dict结构,key是task_1,task_2,..., value是关于这个问题的子任务