Add canonical CV artifact pipeline
This commit is contained in:
@@ -3,6 +3,7 @@ namespace JobTrackerApi.Models;
|
||||
public sealed class StructuredCvProfile
|
||||
{
|
||||
public string Version { get; set; } = "1";
|
||||
public StructuredCvMetadata Metadata { get; set; } = new();
|
||||
public StructuredCvContact Contact { get; set; } = new();
|
||||
public List<string> Summary { get; set; } = new();
|
||||
public List<StructuredCvJob> Jobs { get; set; } = new();
|
||||
@@ -14,6 +15,25 @@ public sealed class StructuredCvProfile
|
||||
public List<StructuredCvSection> Sections { get; set; } = new();
|
||||
}
|
||||
|
||||
public sealed class StructuredCvMetadata
|
||||
{
|
||||
public int? ProfileVersion { get; set; }
|
||||
public int? AppliedExtractionRunId { get; set; }
|
||||
public DateTimeOffset? UpdatedAtUtc { get; set; }
|
||||
public Dictionary<string, StructuredCvFieldMetadata> Fields { get; set; } = new();
|
||||
}
|
||||
|
||||
public sealed class StructuredCvFieldMetadata
|
||||
{
|
||||
public double? Confidence { get; set; }
|
||||
public string? Method { get; set; }
|
||||
public string? SourceSnippet { get; set; }
|
||||
public int? SourcePage { get; set; }
|
||||
public string? SourceBlockId { get; set; }
|
||||
public string? ReviewState { get; set; }
|
||||
public DateTimeOffset? LastUpdatedAtUtc { get; set; }
|
||||
}
|
||||
|
||||
public sealed class StructuredCvContact
|
||||
{
|
||||
public string? FullName { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user