Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Fix luis:cross-train generate incorrect culture info from file names #1300

Merged
merged 3 commits into from
Sep 27, 2021

Conversation

cosmicshuai
Copy link
Contributor

closes: #1295
In this PR, it fixes luis:cross-train can not read the culture info from luis filenames.
If we cross-train a luis file with name a.it-it.lu, the generated will have culture info > !# @app.culture = it-it in the metadata.
Moreover, the priority of culture info is metadata in original luis file -> locale in luis filename -> fallback to en-us.

@munozemilio munozemilio merged commit a9a92a5 into microsoft:main Sep 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cross-Train generates a file with wrong culture
2 participants