调用大模型自动解析订单信息

This commit is contained in:
2026-05-14 22:03:03 +08:00
parent 97b9048ee7
commit c539363eaf
3 changed files with 162 additions and 0 deletions

View File

@@ -24,4 +24,12 @@ public interface ILbPurchaseApplyService extends IService<LbPurchaseApply> {
LocalDate applyDate);
Map<String, Object> listNeedPrivilegeRecommenders(LocalDate startDate, LocalDate endDate);
/**
* 根据订货自然语言描述调用大模型解析为 {@link LbPurchaseApply}(不落库)。
*
* @param orderInfo 订货信息原文
* @param tenantId 当前登录人租户 ID回填到结果实体覆盖模型输出
*/
Map<String, Object> parseFromOrderInfoByLlm(String orderInfo, String tenantId);
}