Feat: add full list of supported AWS Bedrock regions (#9378)

### What problem does this PR solve?

Add full list of supported AWS Bedrock regions.

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Yongteng Lei
2025-08-11 17:15:07 +08:00
committed by GitHub
parent 7f08ba47d7
commit 83939b1a63
4 changed files with 136 additions and 24 deletions

View File

@ -252,7 +252,7 @@ export default {
book: `<p>Supported file formats are <b>DOCX</b>, <b>PDF</b>, <b>TXT</b>.</p><p>
For each book in PDF, please set the <i>page ranges</i> to remove unwanted information and reduce analysis time.</p>`,
laws: `<p>Supported file formats are <b>DOCX</b>, <b>PDF</b>, <b>TXT</b>.</p><p>
Legal documents typically follow a rigorous writing format. We use text feature to identify split point.
Legal documents typically follow a rigorous writing format. We use text feature to identify split point.
</p><p>
The chunk has a granularity consistent with 'ARTICLE', ensuring all upper level text is included in the chunk.
</p>`,
@ -266,7 +266,7 @@ export default {
<li>Then, combine adjacent segments until the token count exceeds the threshold specified by 'Chunk token number for text', at which point a chunk is created.</li></p>`,
paper: `<p>Only <b>PDF</b> file is supported.</p><p>
Papers will be split by section, such as <i>abstract, 1.1, 1.2</i>. </p><p>
This approach enables the LLM to summarize the paper more effectively and to provide more comprehensive, understandable responses.
This approach enables the LLM to summarize the paper more effectively and to provide more comprehensive, understandable responses.
However, it also increases the context for AI conversations and adds to the computational cost for the LLM. So during a conversation, consider reducing the value of <b>topN</b>.</p>`,
presentation: `<p>Supported file formats are <b>PDF</b>, <b>PPTX</b>.</p><p>
Every page in the slides is treated as a chunk, with its thumbnail image stored.</p><p>
@ -670,13 +670,41 @@ This auto-tagging feature enhances retrieval by adding another layer of domain-s
bedrockSKMessage: 'Please input your SECRET KEY',
bedrockRegion: 'AWS Region',
bedrockRegionMessage: 'Please select!',
'us-east-2': 'US East (Ohio)',
'us-east-1': 'US East (N. Virginia)',
'us-west-1': 'US West (N. California)',
'us-west-2': 'US West (Oregon)',
'af-south-1': 'Africa (Cape Town)',
'ap-east-1': 'Asia Pacific (Hong Kong)',
'ap-south-2': 'Asia Pacific (Hyderabad)',
'ap-southeast-3': 'Asia Pacific (Jakarta)',
'ap-southeast-5': 'Asia Pacific (Malaysia)',
'ap-southeast-4': 'Asia Pacific (Melbourne)',
'ap-south-1': 'Asia Pacific (Mumbai)',
'ap-northeast-3': 'Asia Pacific (Osaka)',
'ap-northeast-2': 'Asia Pacific (Seoul)',
'ap-southeast-1': 'Asia Pacific (Singapore)',
'ap-northeast-1': 'Asia Pacific (Tokyo)',
'eu-central-1': 'Europe (Frankfurt)',
'us-gov-west-1': 'AWS GovCloud (US-West)',
'ap-southeast-2': 'Asia Pacific (Sydney)',
'ap-east-2': 'Asia Pacific (Taipei)',
'ap-southeast-7': 'Asia Pacific (Thailand)',
'ap-northeast-1': 'Asia Pacific (Tokyo)',
'ca-central-1': 'Canada (Central)',
'ca-west-1': 'Canada West (Calgary)',
'eu-central-1': 'Europe (Frankfurt)',
'eu-west-1': 'Europe (Ireland)',
'eu-west-2': 'Europe (London)',
'eu-south-1': 'Europe (Milan)',
'eu-west-3': 'Europe (Paris)',
'eu-south-2': 'Europe (Spain)',
'eu-north-1': 'Europe (Stockholm)',
'eu-central-2': 'Europe (Zurich)',
'il-central-1': 'Israel (Tel Aviv)',
'mx-central-1': 'Mexico (Central)',
'me-south-1': 'Middle East (Bahrain)',
'me-central-1': 'Middle East (UAE)',
'sa-east-1': 'South America (São Paulo)',
'us-gov-east-1': 'AWS GovCloud (US-East)',
'us-gov-west-1': 'AWS GovCloud (US-West)',
addHunyuanSID: 'Hunyuan Secret ID',
HunyuanSIDMessage: 'Please input your Secret ID',
addHunyuanSK: 'Hunyuan Secret Key',