Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AICORE-323: updating metadata reference with autofill props
- Loading branch information
Andrei Nechaev
committed
Jun 25, 2020
1 parent
e7aa8a8
commit f7eba5a
Showing
5 changed files
with
74 additions
and
11 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
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
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
15 changes: 15 additions & 0 deletions
15
nuxeo-ai-core/src/test/resources/OSGI-INF/auto-config-test2.xml
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0"?> | ||
<component name="org.nuxeo.ai.auto.another.config.test" version="1.0"> | ||
|
||
<extension target="org.nuxeo.ai.configuration.ThresholdComponent" | ||
point="thresholdConfiguration"> | ||
|
||
<thresholdConfiguration type="MultiFile" global="0.88"> | ||
<thresholds> | ||
<threshold xpath="dc:title" autofill="0.4" autocorrect="0.7"/> | ||
<threshold xpath="dc:format" autocorrect="0.9"/> | ||
<threshold xpath="complexTest:testList" autofill="0.5" autocorrect="0.55"/> | ||
</thresholds> | ||
</thresholdConfiguration> | ||
</extension> | ||
</component> |
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