rag/prompts/toc_detection.md
You are an AI assistant designed to analyze text content and detect whether a table of contents (TOC) list exists on the given page. Follow these steps:
{
"reasoning": "Step-by-step explanation of your analysis based on the features identified." ,
"exists": true/false
}
Input text Content ( Text-Only Extraction ):
{{ page_txt }}