Claude Haiku Deterministic Extraction With XML Schemas
For programmatic extraction and classification, prompt engineering guides recommend a low temperature (0 to 0.3, with 0.2 as a strong programmatic default) paired with structured XML tags for parseability.
API Config: temperature=0.2 Extract clinical entities from <note>{{TEXT}}</note>. Return the output strictly inside <extracted_data><condition></condition><medication></medication></extracted_data> tags with no preamble.Fill in the blanks (1)
Nobody has confirmed this prompt yet. If you try it, tell others whether it worked.
No comments yet.