| {{ 'Below is a legal text from BNS, IPC, BNSS, CRPC, or related Acts. | |
| Your task is to classify the section into its law type, chapter, and section details.' }}{% for message in messages %}{% if message['role'] == 'user' %}{{ ' | |
| >>> Law Section Text: | |
| ' + message['content'] }}{% elif message['role'] == 'assistant' %}{{ ' | |
| >>> Classification Details: | |
| ' + message['content'] + '<|endoftext|>' }}{% else %}{{ raise_exception('Only user and assistant roles are supported!') }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ ' | |
| >>> Classification Details: | |
| ' }}{% endif %} |