feat(GraphRAG): enhance GraphRAG by graph community summary (#1801)

Co-authored-by: Florian <fanzhidongyzby@163.com>
Co-authored-by: KingSkyLi <15566300566@163.com>
Co-authored-by: aries_ckt <916701291@qq.com>
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
Co-authored-by: yvonneyx <zhuyuxin0627@gmail.com>
This commit is contained in:
M1n9X
2024-08-30 21:59:44 +08:00
committed by GitHub
parent 471689ba20
commit 759f7d99cc
59 changed files with 29316 additions and 411 deletions

View File

@@ -83,9 +83,9 @@ const RecallTestModal: React.FC<RecallTestModalProps> = ({ open, setOpen, space
destroyOnClose={true}
>
<Card
title='召回配置'
size='small'
className='my-4'
title="召回配置"
size="small"
className="my-4"
extra={
<Popover
placement='bottomRight'
@@ -160,7 +160,7 @@ const RecallTestModal: React.FC<RecallTestModalProps> = ({ open, setOpen, space
)} */}
</Form>
</Card>
<Card title='召回结果' size='small'>
<Card title="召回结果" size="small">
<Spin spinning={loading}>
{resultList.length > 0 ? (
<div
@@ -172,9 +172,9 @@ const RecallTestModal: React.FC<RecallTestModalProps> = ({ open, setOpen, space
{resultList.map(item => (
<Card
title={
<div className='flex items-center'>
<Tag color='blue'># {item.chunk_id}</Tag>
{item.metadata.prop_field.title}
<div className="flex items-center">
<Tag color="blue"># {item.chunk_id}</Tag>
{item.metadata.source}
</div>
}
extra={