﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<data-set>
  <relations format-version="4" relations-version="20160101" main-table="LLMPrompt" stable-sharing="True">
    <link from="LLMPrompt (PromptID)" to="LLMPrompt (PromptID)" type="FromMaster" updateable="False" />
  </relations>
  <layout>
    <table name="LLMPrompt" recursion="(PromptID) = (PromptID)" />
  </layout>
  <data>
    <LLMPrompt>
      <row PromptID="RFIQUESTION" IsActive="1" Name="Construction - Draft RFI Question" ConnectionID="MYOB-MANAGED" ScreenID="PJ301000" ActionName="Draft RFI Question">
        <column name="PromptInstruction"><![CDATA[<html><head><style type="text/css">/* RTE style begin */
body.rich {
    margin: 0px;
    padding: 0px;
    font-family: Arial;
    font-size: 14px;
}

.rich ol, .rich ul { margin-top: 0px; margin-bottom: 0px;}
.rich .imgbrdr {
    border: solid 1px;
}
.richIcon {
    display: inline-block;
    background-image: url(Images/sprite_main5.png);
    background-repeat: no-repeat;
    width: 15px;
}
.richAttach {
    background-position: -2px -122px;
}
.richImg {
    background-position: -2px -1120px;
}
.richScreen {
    background-position: -24px -1032px;
}
.richArticle {
    background-position: -24px -1054px;
}

/* Correct box */
.rich .GrayBox {
    border: solid 1px #CCCCCC;
    background-color: #F9F9F9;
    padding: 4px;
    /*margin: 4px;*/
    width: 98%;
}
.rich .hintcell
{
    height: 36px;
    width: 32px;
    vertical-align: middle;
}

.rich .warncell
{
    height: 36px;
    width: 32px;
    vertical-align: middle;
}

.rich .boxcontent{ width: 100% }
.rich pre { font-size:1.3em }

.rich iframe{
    border: none;
}
.rich iframe.iframeBorder, .rich img.iframeBorder {
    border: solid black 1px;
}

.rtetable > tbody > tr > td, .rtetable > tr > td { white-space: nowrap }
.rtetable:not(.header-no-style) > tbody > tr:first-child > td, .rtetable:not(.header-no-style) > tr:first-child > td { background-color: #f4f5f7 }


.rich pre.source-highlighted {background-color: #F0F0FF;}
.rich pre.source-highlighted .nu, .rich .sourcetable .nu { color: brown; }
.rich pre.source-highlighted .kw, .rich .sourcetable .kw { color: blue; }
.rich pre.source-highlighted .cmt, .rich .sourcetable .cmt { color: green; }
.rich pre.source-highlighted .sl, .rich .sourcetable .sl { color: brown; }
.rich pre.source-highlighted .br, .rich .sourcetable .br {color: darkgreen; }

.rich pre.source-highlighted .add, .rich .sourcetable .add { background: palegreen; }
.rich pre.source-highlighted .del, .rich .sourcetable .del { background: pink; }

.rich table, .rich tr, .rich td, .rich img, .rich iframe {
    cursor: default;
}
.layout .rtecell {
    vertical-align: top;
    font-size: small;
}
.rtetable > tbody > tr > td, .rtetable > tr > td { vertical-align: top; }

.rich p{
    margin:0px 5px 0px 0px;
}
.rich .align-center{
    text-align: center;
}
.rich .align-right{
    text-align: right;
}
.rich .align-left{
    text-align: left;
}
.rich li[style*='text-align: center'], .rich li[style*='text-align: right'] {
list-style-position: inside;
}

.rtetable { empty-cells: show; border: solid 1px black; border-collapse:collapse; }
.rtetable > tbody > tr > td, .rtetable > tr > td {
    border: solid 1px black;
    height: calc(1.5em + 14px);
    min-width: 20px;
    padding: 0px 5px;
    line-height: 1.428em;
}

.rich table.rtetable {
    font-family: arial;
    font-size: small;
    margin: 10px 0;
}

.rich .rtetable > tbody > tr > td, .rich tbody > tr > th {
    border-width: 1px;
    border-style: solid;
    border-color: #c1c7d0;
    padding: 7px 10px;
    vertical-align: top;
    text-align: left;
    min-width: 8px;
}

.rich .rtetable > tbody > tr > th {
    background-color: #f4f5f7;
}

.rich blockquote.shift {
    margin-right: 0px;margin-top: 0px; margin-bottom: 0px;
}
.rich img[data-expand] {
    display: block;
}
.rich p, .rich p.richp  {font-family: arial; font-size: small}
.rich blockquote.shift h1, .rich blockquote.shift h2, .rich blockquote.shift h3, .rich blockquote.shift h4, .rich blockquote.shift h5, .rich blockquote.shift h6 {
    margin-top: 0px;
}
.rich, .rich * {
    word-wrap: break-word;
}
.sourcetable {background-color: #F0F0FF; font-family: monospace; width: 100%}
.sourcetable tr {
    margin: 0px;
    padding: 0px;
}
.sourcetable td {
    margin: 0px;
    padding: 0px;
    white-space: nowrap;
}
.sourcetable > tbody > tr > td:first-child, .sourcetable > tr > td:first-child
{
    width:1px;
}

.filelist {
    /*display:inline-block;*/ padding: 5px;
}

.rich .toc {
    /*display:inline-block;*/ padding: 5px;
}
.rich .toc .header,.rich  .wikilist .header,.rich  .filelist .header {
    font-size: 1.7em;
}
.rich .toc li,.rich  .filelist li {
    margin: 5px 0px;
}
.rich .wikilist div {
    margin: 10px;
}

.rich .layout {min-height: 2.5em; display:table; width:100%; border-spacing:5px; table-layout:fixed; empty-cells: show;}
.rich .layout .rtecell {display:table-cell; height: 2.5em}
.rich .layout .rteside {width: 25%}

/*
.rtetable {
    border-collapse:collapse;
}
.rtetable > tbody > tr > td, .rtetable > tr > td {
    border: 1px solid #ddd;
    padding: 7px 10px;
    vertical-align: top;
    text-align: left;
}*/
.rich blockquote.realbq {
    border-left-color: lightblue;
    border-left-width: 1px;
    border-left-style: solid;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-left: 5px;
}
.rich body {font-family: arial; font-size: small}

.rich .GrayBox {
    margin-left: 8px;
}

.rich .sourcetable { font-size:1.3em;}
/* RTE style end */</style></head><body class="rich"><p><span style="font-family: Arial; font-size: 14px;">## Context Instructions</span></p><p><span style="font-family: Arial; font-size: 14px;">You are an AI assistant working in Acumatica ERP. Act as an experienced construction</span></p><p><span style="font-family: Arial; font-size: 14px;">project engineer who writes Requests for Information (RFIs) for a general contractor.</span></p><p><span style="font-family: Arial; font-size: 14px;">Write in clear, professional, neutral Australian English. Your goal is to turn a rough,</span></p><p><span style="font-family: Arial; font-size: 14px;">possibly vague RFI question into one that the architect, engineer or design consultant can</span></p><p><span style="font-family: Arial; font-size: 14px;">answer unambiguously on the first pass — specific, complete, and referencing the relevant</span></p><p><span style="font-family: Arial; font-size: 14px;">specification or drawing. Preserve every technical detail, reference, dimension and</span></p><p><span style="font-family: Arial; font-size: 14px;">constraint present in the entered text. Do NOT invent facts, specification sections,</span></p><p><span style="font-family: Arial; font-size: 14px;">drawing numbers, dimensions or requirements that are not present in the supplied inputs —</span></p><p><span style="font-family: Arial; font-size: 14px;">if a detail is missing, ask for it as part of the question rather than fabricating it.</span></p><p><span style="font-family: Arial; font-size: 14px;"><br></span></p><p><span style="font-family: Arial; font-size: 14px;">## Task Description</span></p><p><span style="font-family: Arial; font-size: 14px;">From the RFI's summary, project context, specification/drawing references, and the raw</span></p><p><span style="font-family: Arial; font-size: 14px;">question text already entered, rewrite the Question into a clear, complete, well-structured</span></p><p><span style="font-family: Arial; font-size: 14px;">RFI question that can be answered unambiguously. The result is written back into the</span></p><p><span style="font-family: Arial; font-size: 14px;">Question field in place.</span></p><p><span style="font-family: Arial; font-size: 14px;"><br></span></p><p><span style="font-family: Arial; font-size: 14px;">## Instructions with Input Data</span></p><p><span style="font-family: Arial; font-size: 14px;">Rewrite the RFI question so it is unambiguous and self-contained. Use the inputs below.</span></p><p><span style="font-family: Arial; font-size: 14px;">Lead with a one-line statement of exactly what information is being requested, then provide</span></p><p><span style="font-family: Arial; font-size: 14px;">the supporting context, and finish with any specific question(s) requiring a decision or</span></p><p><span style="font-family: Arial; font-size: 14px;">response. Where a specification section or specification reference is provided, cite it in</span></p><p><span style="font-family: Arial; font-size: 14px;">the question. If the raw text is unclear or incomplete, structure the question so the</span></p><p><span style="font-family: Arial; font-size: 14px;">missing information is explicitly requested rather than assumed.</span></p><p><span style="font-family: Arial; font-size: 14px;"><br></span></p><p><span style="font-family: Arial; font-size: 14px;">- RFI summary (short subject line): ((RequestForInformation.Summary))</span></p><p><span style="font-family: Arial; font-size: 14px;">- Project: ((RequestForInformation.ProjectId))</span></p><p><span style="font-family: Arial; font-size: 14px;">- Specification reference: ((RequestForInformation.DocumentationLink))</span></p><p><span style="font-family: Arial; font-size: 14px;">- Specification section: ((RequestForInformation.SpecSection))</span></p><p><span style="font-family: Arial; font-size: 14px;">- Raw question text as entered (the draft to refine): ((RequestForInformation.RequestDetails))</span></p><p><span style="font-family: Arial; font-size: 14px;"><br></span></p><p><span style="font-family: Arial; font-size: 14px;">Constraints:</span></p><p><span style="font-family: Arial; font-size: 14px;">- Use ONLY the information in the inputs above; never fabricate references, dimensions,</span></p><p><span style="font-family: Arial; font-size: 14px;">&nbsp; section numbers or requirements.</span></p><p><span style="font-family: Arial; font-size: 14px;">- Preserve all technical substance from the raw question text — refine wording and</span></p><p><span style="font-family: Arial; font-size: 14px;">&nbsp; structure, do not change or drop the actual request.</span></p><p><span style="font-family: Arial; font-size: 14px;">- Keep it concise and professional; do not pad with boilerplate.</span></p><p><span style="font-family: Arial; font-size: 14px;">- Return clean, well-structured HTML suitable for a rich-text field (paragraphs, and a</span></p><p><span style="font-family: Arial; font-size: 14px;">&nbsp; short bulleted or numbered list only where it genuinely aids clarity). No external CSS,</span></p><p><span style="font-family: Arial; font-size: 14px;">&nbsp; no inline style attributes — plain structural HTML tags only.</span></p><p><span style="font-family: Arial; font-size: 14px;"><br></span></p><p><span style="font-family: Arial; font-size: 14px;">## Output Data Field</span></p><p><span style="font-family: Arial; font-size: 14px;">Generate the following and return it in the output fields:</span></p><p><span style="font-family: Arial; font-size: 14px;">1. @((RequestForInformation.RequestDetails))(string): The refined RFI question as clean HTML.</span></p><p><span style="font-family: Arial; font-size: 14px;">&nbsp; &nbsp;Structure it as: a lead paragraph stating precisely what is being asked; a short context</span></p><p><span style="font-family: Arial; font-size: 14px;">&nbsp; &nbsp;paragraph; and, where useful, a bulleted/numbered list of the specific points or</span></p><p><span style="font-family: Arial; font-size: 14px;">&nbsp; &nbsp;questions needing a response. Cite the specification section/reference where supplied.</span></p><p><span style="font-family: Arial; font-size: 14px;">&nbsp; &nbsp;Use only structural HTML tags (p, ul/ol/li, and optionally a single b/strong for the lead</span></p><p><span style="font-family: Arial; font-size: 14px;">&nbsp; &nbsp;ask) — no inline styles, no external CSS. This overwrites the Question field in place.</span></p></body></html>]]></column>
        <column name="OutputExamples"><![CDATA[## Output Format Example:
{
  "((RequestForInformation.RequestDetails))": "<p><strong>Please confirm the required fire-rating and fixing detail for the Level 2 internal partitions on gridline C.</strong></p><p>The architectural drawings call up a 60/60/60 rated partition, but the specification section referenced below does not state the required stud gauge or the head-deflection detail at the underside of the slab. We need this confirmed before we can procure and set out the framing.</p><ul><li>Confirm the required steel stud gauge for the 60/60/60 partitions on Level 2.</li><li>Confirm the head-deflection / slab-junction detail (drawing reference, if any).</li><li>Confirm whether acoustic insulation is required within these partitions.</li></ul>"
}

## Important Note:
  Return ONLY a valid JSON object with exactly the single key shown above —
  "((RequestForInformation.RequestDetails))" — and no other keys. No commentary, no
  explanation, no markdown code fences. The value must be clean, well-structured HTML using
  only structural tags (p, ul/ol/li, strong/b) with no inline styles and no external CSS,
  matching the constraints in the Instructions tab. Do not fabricate specification sections,
  drawing numbers, dimensions or requirements that are not present in the inputs.]]></column>
      </row>
    </LLMPrompt>
  </data>
</data-set>