We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
比如一篇文章逐段进行审核(合规性、错别字、语义不通顺等)
如图所示,可以支持 document类 触点与 Preset question类触点相连。
通常来讲,应当是 textsplitters 中的组件与Preset question触点相连,这样用户可以比如上传一份合同,先通过切分符(如换行符)进行切分(如切分成20个段落),每个段落成为一个输入逐个传入到Chain/Agent(如RetrievalQAChain或LLMChain)进行分析和审核,比如传入LLMChain可以通过提示词来做错别字及语义不通顺的审核,比如传入RetrievalQAChain来做合规性审核(知识库中存储的是公司及行业的规范要求文档内容)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
需求背景
比如一篇文章逐段进行审核(合规性、错别字、语义不通顺等)
设计思考
实现思路
如图所示,可以支持 document类 触点与 Preset question类触点相连。
通常来讲,应当是 textsplitters 中的组件与Preset question触点相连,这样用户可以比如上传一份合同,先通过切分符(如换行符)进行切分(如切分成20个段落),每个段落成为一个输入逐个传入到Chain/Agent(如RetrievalQAChain或LLMChain)进行分析和审核,比如传入LLMChain可以通过提示词来做错别字及语义不通顺的审核,比如传入RetrievalQAChain来做合规性审核(知识库中存储的是公司及行业的规范要求文档内容)
The text was updated successfully, but these errors were encountered: