You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
Reported from composer microsoft/BotFramework-Composer#4970. Cross-train is adding qna questions to corresponding lu files when doing lu vs qna crosstraining. This will introduce some special utterances or patterns from qna questions to lu files. When publishing these lu files, the luis api will return validation exceptions for some corner cases patterns whose formats are not allowed. The optional fix is to filter qna questions with brackets in crosstrained lu results.
To Reproduce
Steps to reproduce the behavior:
Add a special question like What does const [thing, setThing] = useState() mean? in qna file of a dialog. Add a lu file as well for that dialog
Cross-train the lu and qna files with cross-train cli
Publish the cross-trained lu file
You will see the exception like Luis build failed: Found a group without an or field '|' in the pattern.
Expected behavior
No exceptions are thrown
Screenshots
If applicable, add screenshots to help explain your problem.