Skip to content

Commit 6611eff

Browse files
committed
fix: put pdf content as user message instead of system for BAML example
1 parent 5702a0d commit 6611eff

File tree

1 file changed

+1
-0
lines changed
  • examples/patient_intake_extraction_baml/baml_src

1 file changed

+1
-0
lines changed

examples/patient_intake_extraction_baml/baml_src/patient.baml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ function ExtractPatientInfo(intake_form: pdf) -> Patient {
7474
Extract all patient information from the following intake form document.
7575
Please be thorough and extract all available information accurately.
7676

77+
{{ _.role("user") }}
7778
{{ intake_form }}
7879

7980
Fill in with "N/A" for required fields if the information is not available.

0 commit comments

Comments
 (0)