-- The reviewed customer benchmark answer is part of this Few-shot guidance.
-- It clarifies that the requested result is one aggregate row, not detail rows.
UPDATE sg_qa_vector_example
   SET answer_text = TO_CLOB('Expected answer shape: return exactly one aggregate row, not individual order rows.' || CHR(10)
         || 'Expected answer:' || CHR(10)
         || 'TOTAL_SALES_AMOUNT BUYER_COUNT ORDER_COUNT' || CHR(10)
         || '------------------ ----------- -----------' || CHR(10)
         || '            204720           6           6'),
       embedding_input = TO_CLOB('Question pattern: summarize sales after a payment amount condition.' || CHR(10)
         || 'Expected output: TOTAL_SALES_AMOUNT, BUYER_COUNT, ORDER_COUNT as one aggregate row.' || CHR(10)
         || 'Expected result example: 204720, 6, 6.'),
       embedding = DBMS_VECTOR.UTL_TO_EMBEDDING(
         TO_CLOB('Question pattern: summarize sales after a payment amount condition.' || CHR(10)
           || 'Expected output: TOTAL_SALES_AMOUNT, BUYER_COUNT, ORDER_COUNT as one aggregate row.' || CHR(10)
           || 'Expected result example: 204720, 6, 6.'),
         JSON(sg_qa_vector_params('search_document'))),
       verified_at = SYSTIMESTAMP,
       verified_by = 'SGMP_POC_METADATA_REVIEW'
 WHERE example_id = 141
   AND source_type = 'POLICY_TEMPLATE';
/
COMMIT;
/
