KAG icon indicating copy to clipboard operation
KAG copied to clipboard

子问题拆解函数思路,是否有其它思路

Open ganhb opened this issue 1 year ago • 0 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

1.目前KAG拆解子问题,是通过logic_form_plan.py来进行,使之转为函数执行;这里有没有办法不使用通用大模型甚至不使用大模型,因为这边通用大模型会有幻觉等通用弊端,在未来KAG版本是否有其它思路实现。

a.不使用大模型,使用传统NLP,类似LazyGraphRag; b.训练一个SequenceToSql模型,但是训练样本如何整理? 还是有其它方案?

在KAG分享会上,田常大佬说后续说会有新的思路,具体是什么呢?

2.拆解成子问题的函数,后续是否考虑支持udf,比如spg一些函数或自定义函数等等

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

ganhb avatar Dec 25 '24 02:12 ganhb