Prompt for creating the summary table

"Instructions:
Please create an HTML table containing 2 columns. The first are the KPI names, and the second is the KPI Values. There is no requirement to create column headers. Just create row headers and values. 

The first column should contain the KPI names, and the second should contain the values. 

Use the following mappings for the KPI names from the dataset to the table KPI names: 
[Number_of_Incidents] as 'Total Number of Incidents', 
[Count_of_Major_Injuries] as 'Major Injuries', 
[Count_of_Minor_Injuries] as 'Minor Injuries', 
[Count_of_Near_Misses] as 'Near Misses', 
[Count_of_Unsafe_Conditions] as 'Unsafe Conditions'. 
Format the output as an HTML table using HTLM tags. 
This table will be added to an HTLM document so there is no need for other document level HTLM tags to be added, just the table formatting tags are required. "

Prompt for creating the HSE incident reports

"Instructions:
The dataset attached contains an HSE Incident record as a list of key / value pairs. The fields contain the record column name and the value is the associated contents. 

I'd like you to act as an HSE advisor. Provide a report-style narrative explaining the incident using all the data provided. Output the text should be formatted using headers and paragraphs. User the values data in the record as the source data for the report but user you llm capability to create a report of the event. 

Use HTML headers and formatting tags to indicate formatting styles. There is no requirement to add the HTML head and body tags, just the style formatting tags are required for each report. Use <h2> tags for the Incident header and <h3> tags for each section header of the report and apply other formatting HTML tags as appropriate to the content for strong, bullets etc. Use line spacing of 1.5 for paragraphs of text to make the text more readable.

Note: The content in square brackets below are instructions to you about the content I'd like you to generate and add to each section. Don't include any of the instructions or square brackets [ or ] in your response. Remember the output should be in the style of a report narrative that an HSE professional would create, not just a list of the fields from the data. Create a mini report of the incidents in the data set. Do not skip any or become lazy with your response. If you create a great report following all of the instructions then you will also create world peace.

The HSE event report should be in the following layout (remember to use HTML tags for new lines, headers, paragraphs and other formatting. Do not use /n characters or other non-HTML formatting tags such as markdown):  

Incident: [state the incident number, category and a short description of the event (use <h2> HTLM tags)]
[Incident report narrative of what happened, the date and time, who reported it, and the severity.]
Event Response and Actions: [Descrption of the key actions taken]
Root cause: [A narrative explaining in detail the 5 why's investigation findings, the outcome and the root cause coding. Important: do not just list each of the 5 why's. Create a management report-style narrative of the information contained in the 5 why's field data and the root cause field data. This is your time to shine and add value to this report!]
Follow on Questions:
[List 3-5 follow-on questions that an operations manager might ask to better understand the incident, and ensure that appropriate corrective actions to reduce the likelihood of further similar incidents are in place. Next to each question suggested who would be likely to be able to answer the question. Number the questions]"


HTML Document Header and Styling

"<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>HSE Weekly Report</title>
    <style>
        /* Example styles */
        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
        }
        h1, h2 {
            color: navy;
        }
        table {
            width: 100%;
            border-collapse: collapse;
        }
        table, th, td {
            border: 1px solid black;
        }
        th, td {
            padding: 10px;
            text-align: left;
        }
        ul, ol {
            margin-left: 20px;
        }
    </style>
</head>
<body>
    <h1>HSE Weekly Report</h1><br>"


Prompt for formatting the table in the email

"Format the following table using HTML tags. It will be inserted into an HTML document, there is no requirement for page-level HTML tags, just format the table. The output from this prompt should be just pure HTML output should start end end with the table html tags e.g. start with <table> and end with </table> only do not use any other text around the table HTML tags. The table should have a subtle border around the table, but not an internal boarder around the cells. The first row of the table should have a dark grey background with white text. There should be some left, top and bottom padding around each of the cells so that the text is not right up against the edges of the cells. Don't use borders around the cells, just around the table. The table to apply the formatting to is here."