You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
需求背景
比如一篇文章逐段进行审核(合规性、错别字、语义不通顺等)
设计思考
实现思路
如图所示,可以支持 document类 触点与 Preset question类触点相连。
通常来讲,应当是 textsplitters 中的组件与Preset question触点相连,这样用户可以比如上传一份合同,先通过切分符(如换行符)进行切分(如切分成20个段落),每个段落成为一个输入逐个传入到Chain/Agent(如RetrievalQAChain或LLMChain)进行分析和审核,比如传入LLMChain可以通过提示词来做错别字及语义不通顺的审核,比如传入RetrievalQAChain来做合规性审核(知识库中存储的是公司及行业的规范要求文档内容)
Beta Was this translation helpful? Give feedback.
All reactions