This is the prompt I use to pretty-print OFAC designation-related information – feel free to suggest improvements or point out issues (yes, I know telling it to output a carriage return is pretty dumb because Gemini uses Markdown format – I will clean that up eventually, but right now, it still “works:):
Throughout this procedure, make field names and the colon bold, but leave the field value normally formatted.
Do not infer information about a listing from an associated listing that references it – only output information from the actual listing.
Provide no citation markers. However, if any sources other than the update site or the press release are referenced, provide a source list at the end.
First, output a heading, with H1 heading formatting, with the title of the update, followed by a carriage return – and make it a hyperlink to the update URL.
If there was a press release, output the name of the issuing body (e.g. “State” or “Treasury), followed by“ Press Release: “, followed by the title of the press release, for each press release.. Ensure the press release title is made into a hyperlink to the corresponding press release URL, and format the whole line as an H3 header.
If there are sections of additions:
Output “Additions:” with H2 heading, and bold.
Output a carriage return.
For each listing in each section of additions:
Reformat each listing:
Output the name, bolded. If a vessel with a call sign, output a space, then the call sign in parentheses
Then produce the rest of the data as a bulleted list:
- If there are AKAs, list those prefaced by “AKA: “ and make that label bold. If there are multiple AKAs, put the label on the bullet, and make each AKA a separate sub-bullet, If there is only 1 AKA, put the AKA on the same line as the label
- For vessels, if vessel type found, output the vessel type, prefaced by “Vessel Type: ”
- For vessels, if vessel flag country found, output the vessel flag country, prefaced by “Vessel Flag: ”
- List remaining fields in order of their presence. However, do not list the program tags. Bold the field name.
- If there is a listed party type, list it, prefaced by “Party Type: “. Bold the label
- If there are associated “Linked to:” parties in parentheses, output “Linked to: “ and that information. If there are multiple Linked To parties, make the label the main bullet, and make the parties separate sub-bullets. Make the label bold.
Next, add supplemental information from the press release linked to in the update, if any, as well as any publicly-available information that can be reliably linked to each listed party. Preface this with “Supplemental Information: “, bolded – but not bulleted to offset it from the bulleted items
Then output two carriage returns.
Preface each section divided by type of party (e.g. individuals, entities, \ vessels, aircraft) and by the list updated (e.g. SDN, SSI, FSE) with the section header from the OFAC designation update – for example, “The following entities have been added to OFAC’s SDN List:”. Make the section header , italicized and bolded.
Group listings within each section by the combination of program tags.
Preface each grouping with a list of the associated program tags, followed by the description from OFAC’s program tag web page. If there is a single program tag, output :OFAC Program: “, followed by the program tag, 2 spaces, a and its description. If there are multiple program tags, make a bulleted list, with “OFAC Programs:” on the first bullet, and each program tag, 2 spaces, and its description, on a new sub-bullet. Make this italicized.
Output two carriage returns between listings within each section
End of additions section logic
If there are sections of deletions, removals or delistings:
Output “Delistings:” with H2 heading formatting, bolded.
Output a carriage return.
Preface each section divided by type of party (e.g. individuals, entities, \ vessels, aircraft) and by the list updated (e.g. SDN, SSI, FSE) with the section header from the OFAC designation update – for example, “The following deletions have been made to OFAC’s SDN List:”. Make the section header , italicized and bolded.
Display each listing, removing the program tags from the end of the listing. Bold each field name. To clarify, this is a different format than that of the additions section – since these are removals, we do not need to highlight each field by putting them on separate lines.
Group listings by the combination of program tags.
Preface each grouping with a list of the associated program tags, followed by the description from OFAC’s program tag web page. If there is a single program tag, output :OFAC Program: “, followed by the program tag, 2 spaces, a and its description. If there are multiple program tags, make a bulleted list, with “OFAC Programs:” on the first bullet, and each program tag, 2 spaces, and its description, on a new sub-bullet. Make this italicized.
Output two carriage returns between listings
End of deletions, removals or delistings section logic
If there are sections of changes:
Do not process the “unrelated administrative list changes” section if the next line of text says “None”
Output “Amendments:” with H2 heading formatting, bolded.
Output a carriage return.
Preface each section with the section header from the OFAC designation update.
Make the section header , italicized and bolded.
Reformat each listing:
For the new version of the listing:
a) Output the name, bolded
b) Then produce the rest of the data as a bulleted list:
- If there are AKAs, list those prefaced by “AKA: “ and make that label bold. If there are multiple AKAs, put the label on the bullet, and make each AKA a separate sub-bullet, If there is only 1 AKA, put the AKA on the same line as the label
- List remaining fields in order of their presence. However, do not list the program tags. Bold the field name.
- If there is a listed party type, list it, prefaced by “Party Type: “. Bold the label
- If there are associated “Linked to:” parties in parentheses, output “Linked to: “ and that information. If there are multiple Linked To parties, make the label the main bullet, and make the parties separate sub-bullets. Make the label bold.
c) Next, add supplemental information from the press release linked to in the update, if any, as well as any publicly-available information that can be reliably linked to each listed party. Preface this with “Supplemental Information: “, bolded – but not bulleted to offset it from the bulleted items
d) Then output two carriage returns.
e) Then, Output “List of Changes:” followed by a carriage return. Make this italicized and bolded.
Make a bulleted list of every field in the listing that has changed:
- Output “Field Name: “, List the field name
- If there is a new value and no old value, output “Added: “ and the new value as a sub-bullet
- If there is an old value and no new value, output “Deleted: “ and the old value as a sub-bullet
- If there are new and old values, output “Changed: “, the old value, “ to: “ and the new value as a sub-bullet
End of listing reformatting.
Group listings by the combination of program tags.
Preface each grouping with a list of the associated program tags, followed by the description from OFAC’s program tag web page. If there is a single program tag, output :OFAC Program: “, followed by the program tag, 2 spaces, a and its description. If there are multiple program tags, make a bulleted list, with “OFAC Programs:” on the first bullet, and each program tag, 2 spaces, and its description, on a new sub-bullet. Make this italicized.
Insert two carriage returns between listings
End of changes section logic
Finally, if there is a press chart, output “Press Chart: “, followed by the press chart . Make the chart image a hyperlink to the press chart URL. Make the whole press chart section an H3 heading.
Leave a comment