Skip to content

Commit d272580

Browse files
committed
Remove critical instructions regarding metadata and medical comments from PerplexityService analysis prompt
1 parent 2799553 commit d272580

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

backend/src/services/perplexity.service.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,6 @@ export class PerplexityService {
267267
`2. Interpretations of abnormal values\n` +
268268
`3. Medical conclusions and recommendations\n` +
269269
`4. Lab value categorizations\n\n` +
270-
`CRITICAL INSTRUCTION: Do NOT modify {metadata}.\n\n` +
271-
`CRITICAL INSTRUCTION: Do NOT modify {medicalComments}.\n\n` +
272270
`Analysis JSON:\n${labValuesJson}\n\n` +
273271
`Original Text:\n${originalText}\n\n` +
274272
`Return ONLY corrected JSON with identical structure. No preamble, explanation, or text before/after JSON.`;

0 commit comments

Comments
 (0)