ContextualMetadataConfig
¶
Source code in docs_src/capo_elementalinference/types/contextual_metadata_config.py
custom_questions
instance-attribute
¶
custom_questions: NotRequired[CustomQuestionsConfig]
The question sets that you ask Elemental Inference about each shot, each scene, or both, in this output.
If you specify customQuestions, you must also set extendedAnalysis to DISABLED. If you omit extendedAnalysis, it defaults to ENABLED, and the request fails.
While a feed references a version of a question set, you can't delete that version or the question set.
extended_analysis
instance-attribute
¶
extended_analysis: NotRequired[ExtendedAnalysisMode]
Specifies whether Elemental Inference generates extended analysis of the media content for this output. Extended analysis identifies the people, environments, brands, and on-screen text in the media content. This setting is independent of summaryGeneration.
Valid values:
-
ENABLED (default) – Elemental Inference populates the people, environments, brands, and on-screen text fields.
-
DISABLED – Elemental Inference doesn't populate the people, environments, brands, and on-screen text fields.
If you specify customQuestions, you must set this property to DISABLED.
summary_generation
instance-attribute
¶
summary_generation: NotRequired[SummaryGenerationMode]
Specifies whether Elemental Inference generates a descriptive summary of the media content for this output, along with the objects and actions that it detects. This setting is independent of extendedAnalysis.
Valid values:
-
ENABLED (default) – Elemental Inference populates the summary, objects, and actions fields, along with the IAB taxonomy and GARM suitability classifications.
-
DISABLED – Elemental Inference doesn't populate the summary, objects, and actions fields.