Basic Prompt Structure and Key Parts

A shared folder with AI prompts and code snippets

From workspace: Learn Prompting

Team: Main

Total snippets: 8

Learn Prompting

Basic Prompt Structure and Key Parts

8 snippets

Medical History Patient Risk Prompt

Combines context with a role to ask for prediction based on medical history.

January 1, 2000: Fractured right arm playing basketball. Treated with a cast. February 15, 2010: Diagnosed with hypertension. You are a doctor. Predict the patient's future health risks based on this history.

Tell Five Good Books Prompt

A simple directive asking for a list of book recommendations.

Tell me five good books to read.

CSV Formatting Prompt

Provides structured data and asks for CSV output.

Case: 2024_ABC_International Client: XYZ Corporation Jurisdiction: EU & USA Filed Date: 2024-09-01 Status: Active Lead Attorney: John Doe Next Hearing: 2024-10-15 Output this information as a CSV.

Spanish Translation Few-Shot Prompt

Uses an example to demonstrate desired format for translation.

Translate the following sentences: Q: I like apples. A: Me gustan las manzanas Q: I enjoy walking

Customer Service Role Prompt

Frames a role-playing scenario for writing a professional apology email.

You are a customer service agent. Write an email apologizing for a delayed order.

Night-Morning Translation Prompt

An implicit-directive format requesting translations using contextual cues.

Night: Noche Morning:

Doctor Role Diagnosis Prompt

Assigns a persona (doctor) and asks for symptom-based diagnosis.

You are a doctor. Based on the following symptoms, diagnose the patient.

Llamas Tone Instruction Prompt

Directive specifying tone and format for a paragraph about llamas.

Write a clear and curt paragraph about llamas.