ontocast.prompt.section_classification¶
Prompt templates for section classification during chunk prepare.
document_type_context(document_type)
¶
Optional human-message prefix when the caller supplies a document type hint.
Source code in ontocast/prompt/section_classification.py
format_batch_items(items)
¶
Render (index, fragment) pairs for the batched classification prompt.