feat: send question with retrieval api #2247 (#2272)

### What problem does this PR solve?
feat: send question with retrieval api #2247

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-09-05 19:32:55 +08:00
committed by GitHub
parent 9377192859
commit 6ae0da92cb
17 changed files with 264 additions and 78 deletions

View File

@@ -20,6 +20,9 @@
:global(.ant-card-body) {
padding: 10px 24px;
}
.addButton {
padding: 0;
}
}
.addedCard {
border-radius: 18px;

View File

@@ -293,13 +293,20 @@ const UserSettingModel = () => {
children: (
<List
grid={{
gutter: 24,
gutter: {
xs: 8,
sm: 10,
md: 12,
lg: 16,
xl: 20,
xxl: 24,
},
xs: 1,
sm: 2,
md: 3,
lg: 4,
sm: 1,
md: 2,
lg: 3,
xl: 4,
xxl: 10,
xxl: 8,
}}
dataSource={factoryList}
renderItem={(item) => (
@@ -315,7 +322,11 @@ const UserSettingModel = () => {
</Flex>
</Flex>
<Divider className={styles.modelDivider}></Divider>
<Button type="link" onClick={() => handleAddModel(item.name)}>
<Button
type="link"
onClick={() => handleAddModel(item.name)}
className={styles.addButton}
>
{t('addTheModel')}
</Button>
</Card>