Reconcile reuse and inspection with native extraction
This commit is contained in:
@@ -132,15 +132,13 @@ type AutocorrectionRule struct {
|
||||
|
||||
// CampaignInputsConfig contains stable campaign-level input file references.
|
||||
type CampaignInputsConfig struct {
|
||||
Setting *string `yaml:"setting" json:"setting"`
|
||||
System *string `yaml:"system" json:"system"`
|
||||
Glossary map[string]any `yaml:"glossary" json:"glossary"`
|
||||
SpeakersFile string `yaml:"speakers_file" json:"speakers_file"`
|
||||
AutocorrectFile string `yaml:"-" json:"-"`
|
||||
GlossaryFile *string `yaml:"glossary_file" json:"glossary_file"`
|
||||
PartyFile string `yaml:"party_file" json:"party_file"`
|
||||
SpellCatalogFile string `yaml:"-" json:"-"`
|
||||
Autocorrect []AutocorrectionRule `yaml:"autocorrect" json:"autocorrect"`
|
||||
Setting *string `yaml:"setting" json:"setting"`
|
||||
System *string `yaml:"system" json:"system"`
|
||||
Glossary map[string]any `yaml:"glossary" json:"glossary"`
|
||||
SpeakersFile string `yaml:"speakers_file" json:"speakers_file"`
|
||||
GlossaryFile *string `yaml:"glossary_file" json:"glossary_file"`
|
||||
PartyFile string `yaml:"party_file" json:"party_file"`
|
||||
Autocorrect []AutocorrectionRule `yaml:"autocorrect" json:"autocorrect"`
|
||||
}
|
||||
|
||||
// SessionConfig contains per-session inputs and metadata.
|
||||
@@ -371,8 +369,6 @@ type NotariusConfig struct {
|
||||
ConfigOverlay *string `yaml:"config_overlay,omitempty" json:"config_overlay,omitempty"`
|
||||
Cache *string `yaml:"cache,omitempty" json:"cache,omitempty"`
|
||||
Debug bool `yaml:"debug,omitempty" json:"debug,omitempty"`
|
||||
Resume bool `yaml:"-" json:"-"`
|
||||
ChunkCache string `yaml:"-" json:"-"`
|
||||
ConfigPath string `yaml:"config_path" json:"config_path"`
|
||||
PipelineID string `yaml:"pipeline_id" json:"pipeline_id"`
|
||||
Timeout string `yaml:"timeout" json:"timeout"`
|
||||
@@ -381,14 +377,10 @@ type NotariusConfig struct {
|
||||
Outputs map[string]NotariusOutputConfig `yaml:"outputs" json:"outputs"`
|
||||
}
|
||||
|
||||
// NotariusOutputConfig declares one required extraction lane contract.
|
||||
// NotariusOutputConfig declares one required extraction lane and destination.
|
||||
type NotariusOutputConfig struct {
|
||||
LaneID string `yaml:"lane_id" json:"lane_id"`
|
||||
Filename string `yaml:"filename,omitempty" json:"filename,omitempty"`
|
||||
MediaType string `yaml:"-" json:"-"`
|
||||
SchemaID string `yaml:"-" json:"-"`
|
||||
SchemaVersion string `yaml:"-" json:"-"`
|
||||
ModuleKey string `yaml:"-" json:"-"`
|
||||
LaneID string `yaml:"lane_id" json:"lane_id"`
|
||||
Filename string `yaml:"filename,omitempty" json:"filename,omitempty"`
|
||||
}
|
||||
|
||||
// NotificationConfig configures the supported notification behavior.
|
||||
@@ -398,17 +390,15 @@ type NotificationConfig struct {
|
||||
|
||||
// SessionInputsConfig contains per-session input references.
|
||||
type SessionInputsConfig struct {
|
||||
Setting *string `yaml:"setting" json:"setting"`
|
||||
System *string `yaml:"system" json:"system"`
|
||||
Glossary map[string]any `yaml:"glossary" json:"glossary"`
|
||||
AudioDir string `yaml:"audio_dir" json:"audio_dir"`
|
||||
AudioFiles []string `yaml:"audio_files" json:"audio_files"`
|
||||
AudioS3 *SessionAudioS3Input `yaml:"audio_s3" json:"audio_s3"`
|
||||
SpeakersFile string `yaml:"speakers_file" json:"speakers_file"`
|
||||
AutocorrectFile string `yaml:"-" json:"-"`
|
||||
Autocorrect []AutocorrectionRule `yaml:"autocorrect" json:"autocorrect"`
|
||||
GlossaryFile *string `yaml:"glossary_file" json:"glossary_file"`
|
||||
SpellCatalogFile string `yaml:"-" json:"-"`
|
||||
Setting *string `yaml:"setting" json:"setting"`
|
||||
System *string `yaml:"system" json:"system"`
|
||||
Glossary map[string]any `yaml:"glossary" json:"glossary"`
|
||||
AudioDir string `yaml:"audio_dir" json:"audio_dir"`
|
||||
AudioFiles []string `yaml:"audio_files" json:"audio_files"`
|
||||
AudioS3 *SessionAudioS3Input `yaml:"audio_s3" json:"audio_s3"`
|
||||
SpeakersFile string `yaml:"speakers_file" json:"speakers_file"`
|
||||
Autocorrect []AutocorrectionRule `yaml:"autocorrect" json:"autocorrect"`
|
||||
GlossaryFile *string `yaml:"glossary_file" json:"glossary_file"`
|
||||
}
|
||||
|
||||
// SessionAudioS3Input configures S3 session-audio input discovery.
|
||||
@@ -418,11 +408,9 @@ type SessionAudioS3Input struct {
|
||||
|
||||
// ResolvedStableInputs records the origins of completed stable input paths.
|
||||
type ResolvedStableInputs struct {
|
||||
SpeakersFile ResolvedInputFile
|
||||
AutocorrectFile ResolvedInputFile
|
||||
GlossaryFile ResolvedInputFile
|
||||
PartyFile ResolvedInputFile
|
||||
SpellCatalogFile ResolvedInputFile
|
||||
SpeakersFile ResolvedInputFile
|
||||
GlossaryFile ResolvedInputFile
|
||||
PartyFile ResolvedInputFile
|
||||
}
|
||||
|
||||
// ResolvedInputFile records one effective input path and its declaring source.
|
||||
|
||||
Reference in New Issue
Block a user