readLlmModelFamily function
llmModelFamilyFrom of the bundle at modelPath; null when it has no
LlmMetadata or no model type.
Implementation
Future<LlmModelFamily?> readLlmModelFamily(String modelPath) async {
final metadata = await _readLlmMetadata(modelPath);
return metadata == null ? null : llmModelFamilyFrom(metadata);
}