public static boolean isLanguageModelSupported(String s) {
        if (Strings.isNullOrEmpty(s)) {
            return false;
        }
        for (LanguageModel lm : LanguageModel.values()) {
            if (s.equalsIgnoreCase(lm.getModel())) {
                return true;
            }
        }
        return false;
    }
Language model for intfloat multi-language
inlong-sort/sort-core/src/main/java/org/apache/inlong/sort/function/embedding/LanguageModel.java