Add CV extraction review surfaces
This commit is contained in:
@@ -76,6 +76,14 @@ public static class StructuredCvProfileJson
|
||||
if (primary.OtherSections.Count == 0) primary.OtherSections = secondary.OtherSections;
|
||||
if (primary.Sections.Count == 0) primary.Sections = secondary.Sections;
|
||||
|
||||
foreach (var entry in secondary.Metadata.Fields)
|
||||
{
|
||||
if (!primary.Metadata.Fields.ContainsKey(entry.Key))
|
||||
{
|
||||
primary.Metadata.Fields[entry.Key] = entry.Value;
|
||||
}
|
||||
}
|
||||
|
||||
return Normalize(primary);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user