docs: document the minimum translation memory threshold - #432
Open
lawl-dev wants to merge 1 commit into
Open
Conversation
Text translation treats a translation_memory_threshold below 50 as 50. The accepted request range is unchanged, so the schema still allows 0-100. The note names POST /v2/translate because the schema is shared with POST /v2/document, which passes the value through unchanged.
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Text translation now treats a
translation_memory_thresholdbelow 50 as 50. Below that value no translation memory segment was applied, and 0 disabled the memory entirely, which was not documented.openapi.yaml: note the behavior on theTranslationMemoryThresholdschema, and regenerateopenapi.jsonThe accepted request range is unchanged, so
minimum: 0stays as is. Values below 50 are still accepted, they are just raised.The note names
POST /v2/translateexplicitly because the schema is shared withPOST /v2/document, which passes the value through unchanged.Please hold merging until the behavior is live in production.