Releases: aws-samples/document-translation
Releases · aws-samples/document-translation
v3.4.0
- Adds support for Converse API models which support Messages API
- Supports multiple models with a single common API format for easier support of newer models
- Examples added for:
- Amazon Nova v2 Lite
- Anthropic Claude 4.5 Haiku
- Mistral 7B Instruct
- StabilityAI StableDiffusion 3.5 Large
These examples should populate into the DynamoDB table called modelsTable. Here is the source for these examples https://github.com/aws-samples/document-translation/tree/v3.4.0/infrastructure/lib/features/readable/defaults
Full Changelog: v3.3.1...v3.4.0
v3.3.1
- Fixes: #122
What's Changed
- ci: scope down GitHub Token permissions by @AdnaneKhan in #126
- Bump node-forge from 1.3.1 to 1.3.2 in /website by @dependabot[bot] in #130
- Bump js-yaml in /infrastructure by @dependabot[bot] in #129
- Bump on-headers and compression in /website by @dependabot[bot] in #123
- Bump form-data in /website by @dependabot[bot] in #124
- Bump mammoth from 1.8.0 to 1.11.0 in /infrastructure/lambda/docToHtml by @dependabot[bot] in #125
- Bump tmp and inquirer in /util/installer by @dependabot[bot] in #128
- Bump js-yaml in /website by @dependabot[bot] in #131
New Contributors
- @AdnaneKhan made their first contribution in #126
Full Changelog: v3.3.0...v3.3.1
v3.3.0
- Initial support for Stability AI Stable Diffusion v3 (See below for example)
What's Changed
Full Changelog: v3.2.1...v3.3.0
SD3 Example
Note: Image configs have the option of using a text model to make the description first. This example uses the original Claude v2. It can be used without the text block completely, or another text model for this preprocess part.
{
"id": {
"S": "Default-Example-Image-02"
},
"default": {
"BOOL": true
},
"image": {
"M": {
"modelId": {
"S": "stability.sd3-5-large-v1:0"
},
"parameters": {
"M": {
"mode": {
"S": "text-to-image"
},
"aspect_ratio": {
"S": "1:1"
},
"output_format": {
"S": "jpeg"
}
}
}
}
},
"name": {
"S": "Example Without People (Claude v2 & Stability Diffusion v3)"
},
"text": {
"M": {
"modelId": {
"S": "anthropic.claude-v2"
},
"parameters": {
"M": {
"max_tokens_to_sample": {
"N": "300"
},
"stop_sequences": {
"L": [
{
"S": "Human:"
}
]
},
"temperature": {
"N": "1"
},
"top_k": {
"N": "250"
},
"top_p": {
"N": "0.999"
}
}
},
"prePrompt": {
"S": "You're a prompt engineer, trying to design a prompt for Stable Diffusion, so it can generate a photographic image to illustrate the following text, showing no people in the image:"
}
}
},
"type": {
"S": "image"
}
}v3.2.1
- Fix policy nag for presynth approval
Full Changelog: v3.2.0...v3.2.1
v3.2.0
- Support for faster translations with real-time translation support with Amazon Translate. There is a file size limit for this feature so it will work with small text based documents. Larger documents will fall back to the standard translation of 10-15 minutes.
- Switch default Lambda runtime to NodeJS22.
/closes #112
What's Changed
- Bump esbuild from 0.19.5 to 0.25.0 in /infrastructure by @dependabot in #102
- Bump aws-cdk-lib from 2.153.0 to 2.189.0 in /infrastructure by @dependabot in #111
- Bump react-router and react-router-dom in /website by @dependabot in #113
- Bump @babel/runtime from 7.24.5 to 7.27.0 in /website by @dependabot in #114
- Bump http-proxy-middleware from 2.0.6 to 2.0.9 in /website by @dependabot in #115
Full Changelog: v3.1.5...v3.2.0
v3.1.5
Full Changelog: v3.1.4...v3.1.5
v3.1.4
What's Changed
- Add VSCode extensions recommendations for Prettier by @skdishansachin in #100
New Contributors
- @skdishansachin made their first contribution in #100
Full Changelog: v3.1.3...v3.1.4
v3.1.3
- Small bug fixes
Full Changelog: v3.1.2...v3.1.3
v3.1.2
- Add filtering to history table
- Add controls menu to readable header
- Add table sticky headers & striped rows
- Improve table controls alignment
Full Changelog: v3.1.1...v3.1.2
v3.1.1
- Improve view/edit display & controls
Full Changelog: v3.1.0...v3.1.1