feat: support firecrawl frontend code (#5226)
This commit is contained in:
parent
8d1386df0f
commit
28554350de
51 changed files with 1979 additions and 145 deletions
|
|
@ -11,6 +11,12 @@ const translation = {
|
|||
error: {
|
||||
unavailable: 'This Knowledge is not available',
|
||||
},
|
||||
firecrawl: {
|
||||
configFirecrawl: 'Configure 🔥Firecrawl',
|
||||
apiKeyPlaceholder: 'API key from firecrawl.dev, starting with "fc-"',
|
||||
apiKeyFormatError: 'API key should start with "fc-"',
|
||||
getApiKeyLinkText: 'Get your API key from firecrawl.dev',
|
||||
},
|
||||
stepOne: {
|
||||
filePreview: 'File Preview',
|
||||
pagePreview: 'Page Preview',
|
||||
|
|
@ -50,6 +56,30 @@ const translation = {
|
|||
confirmButton: 'Create',
|
||||
failed: 'Creation failed',
|
||||
},
|
||||
website: {
|
||||
fireCrawlNotConfigured: 'Firecrawl is not configured',
|
||||
fireCrawlNotConfiguredDescription: 'Configure Firecrawl with API key to use it.',
|
||||
configure: 'Configure',
|
||||
run: 'Run',
|
||||
firecrawlTitle: 'Extract web content with 🔥Firecrawl',
|
||||
firecrawlDoc: 'Firecrawl docs',
|
||||
firecrawlDocLink: 'https://docs.dify.ai/guides/knowledge-base/sync_from_website',
|
||||
options: 'Options',
|
||||
crawlSubPage: 'Crawl sub-pages',
|
||||
limit: 'Limit',
|
||||
maxDepth: 'Max depth',
|
||||
excludePaths: 'Exclude paths',
|
||||
includeOnlyPaths: 'Include only paths',
|
||||
extractOnlyMainContent: 'Extract only main content (no headers, navs, footers, etc.)',
|
||||
exceptionErrorTitle: 'An exception occurred while running Firecrawl job:',
|
||||
unknownError: 'Unknown error',
|
||||
totalPageScraped: 'Total pages scraped:',
|
||||
selectAll: 'Select All',
|
||||
resetAll: 'Reset All',
|
||||
scrapTimeInfo: 'Scraped {{total}} pages in total within {{time}}s',
|
||||
preview: 'Preview',
|
||||
maxDepthTooltip: 'Maximum depth to crawl. Depth 1 is the base URL, depth 2 includes the base URL and its direct children, and so on.',
|
||||
},
|
||||
},
|
||||
stepTwo: {
|
||||
segmentation: 'Chunk settings',
|
||||
|
|
@ -86,9 +116,11 @@ const translation = {
|
|||
calculating: 'Calculating...',
|
||||
fileSource: 'Preprocess documents',
|
||||
notionSource: 'Preprocess pages',
|
||||
websiteSource: 'Preprocess website',
|
||||
other: 'and other ',
|
||||
fileUnit: ' files',
|
||||
notionUnit: ' pages',
|
||||
webpageUnit: ' pages',
|
||||
previousStep: 'Previous step',
|
||||
nextStep: 'Save & Process',
|
||||
save: 'Save & Process',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue