Prompt Tools

1. Colon (:)

  • Use: Introduces a list, label, or clarifies a prompt.
  • Example Prompt: “List the patient’s symptoms: fever, cough, and fatigue.”
  • Example Output: “The patient’s symptoms include fever, cough, and fatigue.”

2. Comma (,)

  • Use: Separates items in a list or clauses in a sentence.
  • Example Prompt: “Include the following medications: aspirin, metformin, and lisinopril.”
  • Example Output: “The medications include aspirin, metformin, and lisinopril.”

3. Quotation Marks (” “)

  • Use: Indicate text or speech, define a specific string of input, or highlight a section.
  • Example Prompt: “Summarize the diagnosis using the phrase ‘mild hypertension’.”
  • Example Output: “The patient is diagnosed with mild hypertension.”

4. Parentheses (( ))

  • Use: Add optional details, conditions, or clarification within a prompt.
  • Example Prompt: “Detail the patient’s vital signs (if available).”
  • Example Output: “The patient’s vitals show BP 140/90 mmHg, HR 85 bpm (available).”

5. Brackets ([ ])

  • Use: Include optional sections, variables, or alternatives.
  • Example Prompt: “Summarize the patient’s recent [blood work].”
  • Example Output: “Recent blood work indicates high cholesterol levels.”

6. Curly Braces ({ })

  • Use: Define a placeholder or variable that needs to be replaced with specific input.
  • Example Prompt: “Summarize the condition of {patient_name} diagnosed with {disease}.”
  • Example Output: “John Doe is diagnosed with diabetes.”

7. Pipe (|)

  • Use: Indicates a choice between multiple options.
  • Example Prompt: “Summarize the diagnosis: hypertension | diabetes.”
  • Example Output: “The patient is diagnosed with hypertension.”

8. Hyphen (-)

  • Use: To create bullet points, lists, or connect two related items.
  • Example Prompt: “- Medical history: Hypertension, Diabetes.”
  • Example Output: “- Medical history: Hypertension, Diabetes.”

9. Asterisk (*)

  • Use: Highlight important terms or items, or indicate a wildcard.
  • Example Prompt: “Note: The patient has a history of heart disease.”
  • Example Output: “Important: The patient has a history of heart disease.”

10. Slash (/)

  • Use: Denote alternatives or combine related terms.
  • Example Prompt: “Review patient’s diet/exercise plan.”
  • Example Output: “Reviewing the patient’s diet and exercise plan.”

11. Equal Sign (=)

  • Use: Assign values, such as parameters, variables, or conditions.
  • Example Prompt: “Patient’s age = 50.”
  • Example Output: “The patient’s age is 50.”

12. Semicolon (;)

  • Use: Separate related but distinct ideas or commands.
  • Example Prompt: “Check the patient’s vitals; suggest treatment.”
  • Example Output: “Vitals checked. Suggesting treatment for elevated BP.”

13. Angle Brackets (< >)

  • Use: Indicate placeholders for content to be inserted.
  • Example Prompt: “Write a diagnosis for <patient_name>.”
  • Example Output: “Diagnosis for John Doe: Hypertension.”

14. Ampersand (&)

  • Use: Connect related elements or items.
  • Example Prompt: “Evaluate heart rate & blood pressure.”
  • Example Output: “Heart rate and blood pressure evaluated.”

15. Ellipsis (…)

  • Use: Indicate continuation, truncation, or omitted content.
  • Example Prompt: “Describe the lab results…”
  • Example Output: “The lab results show elevated glucose levels…”

16. Backslash ()

  • Use: Escape special characters or include literal interpretation of delimiters.
  • Example Prompt: “Summarize using the phrase: “No abnormalities found”.”
  • Example Output: “Summary: No abnormalities found.”

17. At Symbol (@)

  • Use: Mention specific users or handle variable notation in some programming.
  • Example Prompt: “Send test results to @physician.”
  • Example Output: “Results sent to @physician.”

18. Keywords/Directives

  • Use: Instruct the AI to perform specific tasks such as summarizing, explaining, or generating content.
  • Example Prompt: “Summarize the patient’s lab results and recommend treatment.”
  • Example Output: “The patient’s lab results show elevated creatinine. Recommend hydration and monitoring.”

19. Templates

  • Use: Predefined frameworks for consistency across repeated tasks.
  • Example Prompt: “Create a report using the template: Patient {name}, Age {age}, Diagnosis {diagnosis}.”
  • Example Output: “Patient: John Doe, Age: 45, Diagnosis: Hypertension.”

20. Hierarchical Structure (Indented Lists)

  • Use: Organize content into levels of importance or categories.
  • Example Prompt: “Diagnosis: Primary: Diabetes, Secondary: Hypertension.”
  • Example Output:
    “Diagnosis:
  • Primary: Diabetes
  • Secondary: Hypertension.”

21. Formatting Modifiers (Bold, Italics, Underline)

  • Use: To emphasize key text by formatting.
  • Example Prompt: “Highlight important diagnosis.”
  • Example Output: “Important: Diagnosis includes hypertension.”

22. Conditional Logic (If-Then Statements)

  • Use: Instruct AI based on specific conditions.
  • Example Prompt: “If BP > 140/90, suggest medication.”
  • Example Output: “BP is 145/95. Suggesting medication for hypertension.”

23. Enumerations

  • Use: Numbered or lettered lists to maintain order.
  • Example Prompt: “List top 3 medications for hypertension:
  1. Lisinopril
  2. Amlodipine
  3. Hydrochlorothiazide.”
  • Example Output: “1. Lisinopril 2. Amlodipine 3. Hydrochlorothiazide.”

24. Questions (Interrogative Prompts)

  • Use: Frame prompts as questions to get specific information.
  • Example Prompt: “What are the possible causes of elevated BP?”
  • Example Output: “Possible causes include hypertension, stress, and kidney disease.”

25. Time Modifiers

  • Use: Add time constraints or references to focus on specific timelines.
  • Example Prompt: “Summarize treatment over the next 6 months.”
  • Example Output: “The treatment plan includes lifestyle changes and medication over the next 6 months.”

26. Tone Modifiers

  • Use: Adjust the tone of the response (formal, casual, patient-friendly).
  • Example Prompt: “Explain diabetes in a patient-friendly tone.”
  • Example Output: “Diabetes is a condition where your body has trouble controlling sugar levels, but you can manage it with diet and medicine.”

27. Prioritization Instructions

  • Use: Instruct AI to prioritize key information.
  • Example Prompt: “List side effects of metformin, prioritizing the most common.”
  • Example Output: “The most common side effects of metformin are gastrointestinal issues.”

28. Constraints/Limiters

  • Use: Set boundaries on the length or type of response.
  • Example Prompt: “Summarize the patient’s history in under 50 words.”
  • Example Output: “Patient has a history of hypertension, diabetes, and high cholesterol.”

29. Examples or Sample Inputs

  • Use: Provide specific examples to guide the AI’s response.
  • Example Prompt: “Use this example: ‘The patient has no significant findings.’”
  • Example Output: “The patient has no significant findings.”

30. File or Data Reference

  • Use: Refer to specific files or databases for the AI to base its response on.
  • Example Prompt: “Analyze the lab results from {file_name}.”
  • Example Output: “Lab results from {file_name} show elevated creatinine.”

31. New Line Indicator (\n)

  • Use: Direct AI to insert a line break or start a new line in the output.
  • Example Prompt: “List the medications:\nAspirin\nMetformin\nLisinopril.”
  • Example Output:
    “Medications:
  • Aspirin
  • Metformin
  • Lisinopril.”

32. OR (Alternatives)

  • Use: Indicates options between two or more choices.
  • Example Prompt: “Should the patient be treated with medication OR surgery?”
  • Example Output: “The patient should be treated with medication.”

33. Forward Slash (//)

  • Use: Can be used for comments or separating different sections of a prompt.
  • Example Prompt: “Recommend a diet // include alternatives.”
  • Example Output: “Recommend a low-sodium diet // Alternatives include a Mediterranean diet.”

34. Plus Sign (+)

  • Use: Adds items or combines multiple elements together.
  • Example Prompt: “Summarize the effects of medication1 + medication2.”
  • Example Output: “Combined, medication1 and medication2 reduce blood pressure significantly.”

35. Caret (^)

  • Use: Used for indicating power or importance, such as emphasizing dosage in a medical instruction.
  • Example Prompt: “Increase dosage to ^150 mg for severe cases.”
  • Example Output: “Dosage increased to 150 mg for severe cases.”

36. Percent Sign (%)

  • Use: Represents a proportion or a percentage, useful for statistical data or lab results.
  • Example Prompt: “List cholesterol levels if they are above 70%.”
  • Example Output: “The patient’s cholesterol levels are 80%, which is above the threshold.”

37. Underscore (_)

  • Use: Can be used for indicating a space or to emphasize a word or phrase in certain text processing systems.
  • Example Prompt: “The patient’s vital signs show significant improvement_.”
  • Example Output: “The patient’s vital signs show significant improvement.”

38. Backticks (`)

  • Use: Common in code or markdown formatting to enclose text for special formatting like monospaced fonts or commands.
  • Example Prompt: “Write the command: python3 analyze.py to analyze the data.”
  • Example Output: “Use the command: python3 analyze.py to analyze the patient data.”

39. Tilde (~)

  • Use: Represents approximation or similarity, often used in text or scientific notations.
  • Example Prompt: “Provide an approximation for the patient’s recovery time ~3 months.”
  • Example Output: “The patient’s recovery time is approximately 3 months.”

40. Double Hyphen (–)

  • Use: Can act as a delimiter or separator between sections in a prompt, or for indicating comments in coding prompts.
  • Example Prompt: “List the patient’s symptoms – focus on primary diagnosis.”
  • Example Output: “Symptoms include fatigue and shortness of breath – primary diagnosis is heart failure.”

41. Question Mark (?)

  • Use: Asks a question to get specific information or clarify something.
  • Example Prompt: “What are the potential side effects of metformin?”
  • Example Output: “The potential side effects of metformin include nausea, diarrhea, and fatigue.”

42. Conditional Formatting (Advanced If-Else Logic)

  • Use: Provides more detailed conditions and branching logic based on different criteria.
  • Example Prompt: “If the patient’s BP > 140/90, recommend medication A. Else, suggest lifestyle changes.”
  • Example Output: “The patient’s BP is 150/95. Recommending medication A.”

43. Switch Case Statements

  • Use: A way to handle multiple conditions by switching between cases.
  • Example Prompt:
    “Switch based on patient age:
  • Case <30: Suggest aggressive treatment
  • Case 30-60: Recommend moderate intervention
  • Case >60: Suggest conservative approach.”
  • Example Output: “Patient is 45 years old, recommending moderate intervention.”

44. Looping Statements (For, While Loops)

  • Use: Loops can be used for repetitive tasks or iterating over data.
  • Example Prompt: “List all medications prescribed. For each, list the dosage and frequency.”
  • Example Output: “Aspirin: 81 mg daily, Metformin: 500 mg twice a day.”

45. Variables Inside Variables (Nested Placeholders)

  • Use: Allows embedding placeholders inside other placeholders for dynamic content.
  • Example Prompt: “Summarize the condition of {patient_name}, aged {patient_age}, diagnosed with {condition_1} and {condition_2}.”
  • Example Output: “John Doe, aged 45, is diagnosed with diabetes and hypertension.”

46. Escaped Characters

  • Use: Handles characters that usually have special meaning in text (like quotes or symbols) and renders them as plain text.
  • Example Prompt: “Explain the term “hypertension” and its impact on “heart disease”.”
  • Example Output: “Hypertension, or high blood pressure, significantly increases the risk of heart disease.”

47. Regular Expressions (RegEx)

  • Use: Advanced string-matching patterns, often used for pattern recognition or extracting data from complex strings.
  • Example Prompt: “Extract all numeric values from the string: {lab_results} using regular expressions.”
  • Example Output: “Extracted values: 140, 90, 200.”

48. Flags or Parameters (Command-Line Style)

  • Use: Used to specify parameters, options, or settings within a prompt.
  • Example Prompt: “Generate a report –include_labs –sort_by_date –output_format=pdf.”
  • Example Output: “Report generated with labs, sorted by date, and output in PDF format.”

49. Max/Min Functions

  • Use: Allows prompting for the maximum or minimum value in a set or list.
  • Example Prompt: “Return the maximum BP reading from the patient’s history.”
  • Example Output: “The maximum BP reading is 160/100 mmHg.”

50. Function Calls (Call-Based Prompts)

  • Use: Refers to invoking certain predefined actions or commands to generate responses.
  • Example Prompt: “Call generate_diagnosis_report({patient_data}) to create the diagnosis summary.”
  • Example Output: “Diagnosis report generated for the patient.”

51. Nested Functions

  • Use: Combine multiple function calls in a single prompt to achieve complex results.
  • Example Prompt: “First, generate a report using create_summary(), then analyze it with evaluate_summary().”
  • Example Output: “Summary report created and evaluated.”

52. Scope Delimiters

  • Use: Control the scope or limit of a prompt, especially when multiple variables or elements are involved.
  • Example Prompt: “Evaluate {test_results} within the scope of the last 3 months only.”
  • Example Output: “Evaluating test results from the last 3 months.”

53. Data Retrieval and References

  • Use: Refers to a specific dataset or previously stored information.
  • Example Prompt: “Use the dataset from {previous_lab_tests} to generate trends.”
  • Example Output: “Trends generated using the previous lab tests.”

54. Multiple Formatting Layers

  • Use: Apply multiple formatting rules (bold, italics, underlining) simultaneously to emphasize critical points.
  • Example Prompt: “Ensure the patient avoids salt due to hypertension.”
  • Example Output: “Important: The patient should avoid salt due to hypertension.”

55. Enumerating with References (Cross-Referencing)

  • Use: Create lists or numbers that refer back to earlier parts of the prompt for consistency.
  • Example Prompt: “In section 1, discuss {condition}. Then in section 3, refer back to section 1’s explanation for more detail.”
  • Example Output: “In section 1, the condition discussed is diabetes. In section 3, we further elaborate on the effects of diabetes.”

56. Priority Assignment

  • Use: Assigns different weights or priorities to various actions or information.
  • Example Prompt: “Assign a priority level 1 to heart-related conditions, and level 2 to respiratory issues.”
  • Example Output: “Heart conditions assigned priority 1, respiratory issues assigned priority 2.”

57. Multi-Part Prompts

  • Use: Breaks down a prompt into multiple stages or parts to ensure more accurate results.
  • Example Prompt:
    “Part 1: Summarize the patient’s condition.
    Part 2: Suggest a treatment plan.
    Part 3: Outline follow-up steps.”
  • Example Output:
    “Part 1: The patient has hypertension.
    Part 2: Suggesting lifestyle changes and medication.
    Part 3: Follow-up in 2 weeks.”

58. Data Chaining (Chained Prompts)

  • Use: Sequentially link outputs of one prompt as the input of another.
  • Example Prompt: “Use the output of the diagnosis report to generate the treatment plan.”
  • Example Output: “Diagnosis report shows hypertension. Treatment plan includes lisinopril.”

59. Clustering or Grouping

  • Use: Group similar variables, conditions, or treatments to organize large datasets or lists.
  • Example Prompt: “Group medications based on their target system: cardiovascular, respiratory, etc.”
  • Example Output:
    “Cardiovascular: Lisinopril.
    Respiratory: Albuterol.”

60. Optimization and Constraints

  • Use: Solves problems while adhering to certain constraints (used in complex decision-making).
  • Example Prompt: “Optimize the patient’s medication list while minimizing potential drug interactions.”
  • Example Output: “Optimized medication list: Metformin, Lisinopril, avoiding potential interactions.”

61. Weighted Decision Making

  • Use: Involves assigning weights to various choices and selecting the most optimal outcome.
  • Example Prompt: “Choose the best treatment for the patient based on effectiveness (70%), side effects (20%), and cost (10%).”
  • Example Output: “The most effective treatment with minimal side effects is medication A.”

62. Randomization or Shuffling

  • Use: Introduces an element of randomness or change in order within prompts.
  • Example Prompt: “Shuffle the list of treatments and recommend one at random.”
  • Example Output: “Randomly recommending treatment: Metformin.”

63. Memory and Contextual Awareness

  • Use: Incorporate memory to store and recall past information in future interactions (AI systems with memory).
  • Example Prompt: “Remember the patient’s allergy to penicillin for future medication recommendations.”
  • Example Output: “Remembering patient’s penicillin allergy for future interactions.”

Leave a Comment