-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
52 additions
and
46 deletions.
There are no files selected for viewing
This file contains 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
23 changes: 12 additions & 11 deletions
23
src/site/markdown/autogenerated/parts/osgi.AutoTranslateConfig.md.part
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
/* AIGenVersion(5a369cc2, osgiconfigurations.prompt-1.1, AutoTranslateConfig.java-1f8eea62) */ | ||
/* AIGenVersion(081c74ae, osgiconfigurations.prompt-1.1, AutoTranslateConfig.java-0faaecc5) */ | ||
|
||
## Composum AI Autotranslate Configuration (aem/core) | ||
|
||
Configuration of the automatic translation of AEM pages. The OSGI configuration is only used if no Sling CAConfig configuration is found. | ||
|
||
| id | name | type | default value | description | | ||
|----|------|------|---------------|-------------| | ||
| pocUiEnabled | Debugging UI | boolean | false | Enable the Autotranslate debugging UI at /apps/composum-ai/components/autotranslate/list/list.html , normally disabled. Only read from OSGI configuration. | | ||
| disabled | Disable | boolean | false | Disable the Autotranslate service | | ||
| deniedResourceTypes | Denied Resource Types | String[] | | Regexes for denied Resource Types - if the sling:resourceType matches that, then no attributes or child nodes are touched by the automatic translation. | | ||
| allowedAttributeRegexes | Allowed Additional Attributes | String[] | | Matches for Attributes that are explicitly allowed to be translated, in addition to standard attributes and heuristically recognized attributes. The heuristics is that the value has to have letters and whitespaces. Syntax: regular expressions that match resource type % attribute name - e.g. myapp/component/html%markup | | ||
| deniedAttributesRegexes | Denied Attributes | String[] | | Attributes that are explicitly denied to be translated. Can be used to override the heuristics / standard attributes. Same syntax as allowed attributes. | | ||
| ignoreAssetsExceptContentFragments | Ignore Assets except Content Fragments | boolean | true | If true, assets are ignored for translation, except for content fragments. (Otherwise the translator would translate metadata of images and videos.) | | ||
| useHighIntelligenceModel | Use High Intelligence Model | boolean | true | If true, the translator will use the 'high-intelligence model' (see OpenAI config) for translation. Default: true. | | ||
| includeAlreadyTranslatedValues | Include Already Translated Values | boolean | true | If a page is re-translated with only a few modified texts: if set we include the unchanged texts that don't have to be translated again, too, as they are in the target language. This might guide the translation of the now (re-)translated properties. | | ||
| id | name | type | default value | description | | ||
|-----------------------------------------|-------------------------------------------|---------|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| pocUiEnabled | Debugging UI | boolean | false | Enable the Autotranslate debugging UI at at /apps/composum-ai/components/autotranslate/list/list.html, normally disabled. Only read from OSGI configuration. | | ||
| disabled | Disable | boolean | false | Disable the Autotranslate service. | | ||
| deniedResourceTypes | Denied Resource Types | String[]| [] | Regexes for denied Resource Types - if the sling:resourceType matches that, then no attributes or child nodes are touched by the automatic translation. | | ||
| allowedAttributeRegexes | Allowed Additional Attributes | String[]| [] | Matches for Attributes that are explicitly allowed to be translated, in addition to standard attributes and heuristically recognized attributes. The heuristics is that the value has to have letters and whitespaces. Syntax: regular expressions that match resource type % attribute name - e.g. myapp/component/html%markup | | ||
| deniedAttributesRegexes | Denied Attributes | String[]| [] | Attributes that are explicitly denied to be translated. Can be used to override the heuristics / standard attributes. Same syntax as allowed attributes. | | ||
| ignoreAssetsExceptContentFragments | Ignore Assets except Content Fragments | boolean | true | If true, assets are ignored for translation, except for content fragments. (Otherwise the translator would translate metadata of images and videos.) | | ||
| useHighIntelligenceModel | Use High Intelligence Model | boolean | true | If true, the translator will use the 'high-intelligence model' (see OpenAI config) for translation. Default: true. | | ||
| includeFullPageInRetranslation | Include Full Page during Retranslation | boolean | true | If true we do not only provide changed texts to the AI during re-translating a page with some changes, but give the entire page to provide better context. That is a bit slower and a bit more expensive, but likely improves the result. | | ||
| includeExistingTranslationsInRetranslation| Include Existing Translations in Retranslation| boolean | true | If true, when retranslating a page with some changes we provide the existing translations of that page to the AI as well as additional context with examples. That is a bit slower and a bit more expensive, but likely improves the result. | |
Oops, something went wrong.