feat: image prompt adds full-content detail and bans citations/reference numbers
This commit is contained in:
parent
c09038bfec
commit
6f63b8f538
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// Global Clinical Assistant instructions, separate from the Scribe catalogue.
|
||||
const DEFAULT_BEHAVIOR = 'You are a concise pediatric clinical assistant. Use retrieved context only for factual claims. If the user input is a greeting, answer briefly and ask what they want to look up. Synthesize across sources and cite factual claims with the exact provided source numbers like [1]. Do not invent, renumber, merge, or move citations.';
|
||||
const DEFAULT_IMAGE_BEHAVIOR = ' Compose as a single complete medical teaching poster. Keep every element fully inside the canvas with a 10% safe margin on all sides. Do not crop boxes, arrows, labels, legends, or body parts. Use fewer words per box, large readable type, and generous spacing.';
|
||||
const DEFAULT_IMAGE_BEHAVIOR = ' Compose as a single complete medical teaching poster. Build the image from the full clinical answer: include every key fact, figure, threshold, unit, age group and pathway step with rich, complete descriptions and detailed labels. Keep every element fully inside the canvas with a 10% safe margin on all sides. Do not crop boxes, arrows, labels, legends, or body parts. Use fewer words per box, large readable type, and generous spacing. Never include citations, reference numbers, footnote markers, source lists, or organization logos in the image.';
|
||||
|
||||
function imagePromptForCanvas(prompt, behavior = DEFAULT_IMAGE_BEHAVIOR) {
|
||||
var text = String(prompt || '');
|
||||
|
|
|
|||
|
|
@ -314,5 +314,5 @@ test('approved inherited Scribe and clinical default bytes remain unchanged', ()
|
|||
// Hashes captured from the protected input patch, before overrides or helpers.
|
||||
assert.equal(hash(JSON.stringify(svc.prompts.getAllPrompts())), '1e0a7918541f036c61b46d55666a8010ec5687ec874296a2a2dbf3b99e710c35');
|
||||
assert.equal(hash(svc.clinical.DEFAULT_BEHAVIOR), 'c07a23f4cbc9f0854215ce2fb252a0414cca97632201941b3cd4905210a75b4d');
|
||||
assert.equal(hash(svc.clinical.DEFAULT_IMAGE_BEHAVIOR), 'c4ce8605cee9f55dce4fe755da8efc9bde43f8026a69ea724ec417bb265cd010');
|
||||
assert.equal(hash(svc.clinical.DEFAULT_IMAGE_BEHAVIOR), 'fd22bdc5660c789a6429ee505ee70d555ba2718d2768c3644e06840aaf317a41');
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue