remove MetaData Extansions to Commons Module ...

This commit is contained in:
2026-10-29 14:16:13 +03:30
parent 5f518b86b2
commit 093fc08e14
-25
View File
@@ -29,30 +29,5 @@ namespace xAiModels.Extensions
//
return result;
}
/// <summary>
/// Converts to Meta Data Representation ...
/// </summary>
/// <param name="source"></param>
/// <returns></returns>
public static Dictionary<string, string> AsMetadat(this string source)
{
//
// Validate ...
if (source.IsNullOrEmpty()) {
return [];
}
//
// JSON is expected to be like: [0.12, 0.34, ...] ...
var result = source.FromJSON<Dictionary<string, string>>();
if (!result.HasChild())
{
result = [];
}
//
return result;
}
}
}