detect_text_genre
Identify text genres like historical_narrative or prophetic to apply accurate extraction rules, using structural patterns or domain-specific vocabulary for enhanced detection.
Instructions
Detect text genre to apply correct extraction rules.
Genres: historical_narrative, narrative_poetry, prayer_praise, recapitulation, prophetic.
DOMAIN-AGNOSTIC: Uses structural patterns by default. Provide domainVocabulary for domain-specific enhanced detection.
Args: segment_id: ID of the segment to analyze. domain_vocabulary: Optional DomainVocabulary for enhanced detection.
Returns: Text genre detection result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segment_id | Yes | ||
| domain_vocabulary | No |