balibabu
commited on
Commit
·
c4fcec1
1
Parent(s):
8de8827
feat: Replace crawler icon #2915 (#2916)
Browse files### What problem does this PR solve?
feat: Replace crawler icon #2915
### Type of change
- [ ] Bug Fix (non-breaking change which fixes an issue)
- [x] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
web/src/assets/svg/crawler.svg
CHANGED
|
|
|
|
web/src/components/api-service/chat-overview-modal/backend-service-api.tsx
CHANGED
|
@@ -22,10 +22,10 @@ const BackendServiceApi = ({ show }: { show(): void }) => {
|
|
| 22 |
<Flex gap={8} align="center">
|
| 23 |
<b>{t('backendServiceApi')}</b>
|
| 24 |
<Paragraph
|
| 25 |
-
copyable={{ text: `${location.origin}
|
| 26 |
className={styles.apiLinkText}
|
| 27 |
>
|
| 28 |
-
{location.origin}
|
| 29 |
</Paragraph>
|
| 30 |
</Flex>
|
| 31 |
</Card>
|
|
|
|
| 22 |
<Flex gap={8} align="center">
|
| 23 |
<b>{t('backendServiceApi')}</b>
|
| 24 |
<Paragraph
|
| 25 |
+
copyable={{ text: `${location.origin}` }}
|
| 26 |
className={styles.apiLinkText}
|
| 27 |
>
|
| 28 |
+
{location.origin}
|
| 29 |
</Paragraph>
|
| 30 |
</Flex>
|
| 31 |
</Card>
|
web/src/locales/en.ts
CHANGED
|
@@ -937,7 +937,7 @@ The above is the content you need to summarize.`,
|
|
| 937 |
markdown: 'Markdown',
|
| 938 |
content: 'Content',
|
| 939 |
},
|
| 940 |
-
extractType: '
|
| 941 |
info: 'Info',
|
| 942 |
history: 'History',
|
| 943 |
financials: 'Financials',
|
|
|
|
| 937 |
markdown: 'Markdown',
|
| 938 |
content: 'Content',
|
| 939 |
},
|
| 940 |
+
extractType: 'Extract type',
|
| 941 |
info: 'Info',
|
| 942 |
history: 'History',
|
| 943 |
financials: 'Financials',
|
web/src/pages/flow/constant.tsx
CHANGED
|
@@ -505,6 +505,10 @@ export const initialNoteValues = {
|
|
| 505 |
text: '',
|
| 506 |
};
|
| 507 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 508 |
export const CategorizeAnchorPointPositions = [
|
| 509 |
{ top: 1, right: 34 },
|
| 510 |
{ top: 8, right: 18 },
|
|
|
|
| 505 |
text: '',
|
| 506 |
};
|
| 507 |
|
| 508 |
+
export const initialCrawlerValues = {
|
| 509 |
+
extract_type: 'markdown',
|
| 510 |
+
};
|
| 511 |
+
|
| 512 |
export const CategorizeAnchorPointPositions = [
|
| 513 |
{ top: 1, right: 34 },
|
| 514 |
{ top: 8, right: 18 },
|
web/src/pages/flow/hooks.ts
CHANGED
|
@@ -41,6 +41,7 @@ import {
|
|
| 41 |
initialBingValues,
|
| 42 |
initialCategorizeValues,
|
| 43 |
initialConcentratorValues,
|
|
|
|
| 44 |
initialDeepLValues,
|
| 45 |
initialDuckValues,
|
| 46 |
initialExeSqlValues,
|
|
@@ -129,6 +130,7 @@ export const useInitializeOperatorParams = () => {
|
|
| 129 |
[Operator.Concentrator]: initialConcentratorValues,
|
| 130 |
[Operator.TuShare]: initialTuShareValues,
|
| 131 |
[Operator.Note]: initialNoteValues,
|
|
|
|
| 132 |
};
|
| 133 |
}, [llmId]);
|
| 134 |
|
|
|
|
| 41 |
initialBingValues,
|
| 42 |
initialCategorizeValues,
|
| 43 |
initialConcentratorValues,
|
| 44 |
+
initialCrawlerValues,
|
| 45 |
initialDeepLValues,
|
| 46 |
initialDuckValues,
|
| 47 |
initialExeSqlValues,
|
|
|
|
| 130 |
[Operator.Concentrator]: initialConcentratorValues,
|
| 131 |
[Operator.TuShare]: initialTuShareValues,
|
| 132 |
[Operator.Note]: initialNoteValues,
|
| 133 |
+
[Operator.Crawler]: initialCrawlerValues,
|
| 134 |
};
|
| 135 |
}, [llmId]);
|
| 136 |
|