m-kovalsky / fabric_cat_tools

Supercharge your Microsoft Fabric development with the fabric_cat_tools library
MIT License
110 stars 15 forks source link

[Question] can translate_semantic_model translate dim and fact table names? #23

Closed BDOlode closed 4 months ago

BDOlode commented 5 months ago

Hi Kowalksy, thank you so much for extending the translate_semantic_model function in this new version.

However, I am still not getting great results from this function, can it handle multiple words in a column name? image

m-kovalsky commented 5 months ago

What language(s) do you want to translate to?

BDOlode commented 5 months ago

In the previous message I attempted to translate to norwegian bokmal (nb). Running an expirement with the languague codes from the documentation gives similar results: image

m-kovalsky commented 5 months ago

It appears there is an issue with the ML library used by this function. I'm communicating with the team behind that library to rectify the issue.

BDOlode commented 5 months ago

Thank you! 🥇

m-kovalsky commented 5 months ago

Would you try this again. I tested it and it appears to be working fine. Just make sure to use the full 4 character language code i.e. 'nb-NO'