Contents

supportedLanguages

Languages that the model supports.

Declaration

nonisolated(nonsending) final var supportedLanguages: Set<Locale.Language> { get async throws }

Discussion

To check if a given locale is considered supported by the model, use supportsLocale(_:), which also takes language fallbacks into consideration.

See Also

Handling language and locales