Jump to content

Help:AIPrompt: Difference between revisions

From RiskiPedia
Suggestions from ChatGPT after back-and-forth to create Driving page
No edit summary
 
Line 30: Line 30:
- After each table, explain the data briefly and list references as bullet points.
- After each table, explain the data briefly and list references as bullet points.
- Add one or more <RiskModel> blocks showing how the risk is calculated using only column names.
- Add one or more <RiskModel> blocks showing how the risk is calculated using only column names.
- End the page with a generic attribution line, e.g., "Generated by an AI assistant."
- End the page with an attribution line: Generated by [AI_NAME_AND_VERSION] (where the AI system fills in its own name and version, such as ChatGPT-5, Grok, or Gemini).


4. Main Page (RiskName)
4. Main Page (RiskName)

Latest revision as of 23:53, 31 August 2025

Copy and paste the following text as an initial prompt for an AI chatbot to help create RiskiPedia pages.

Be sure to fact-check the results! Read the references and at least spot-check the data.

Plain-Text Prompt for RiskiPedia Page Creation

Your task is to create a new RiskiPedia page about a specific risk. You must produce two artifacts:
1. A main page (e.g., RiskName)
2. A data subpage (e.g., RiskName/Data)

Follow these steps carefully.

Steps

1. Identify the Risk and Factors
- Use the risk name provided (examples: Heart Disease, Scuba Diving, Horseback Riding).
- Identify important influencing factors (examples: age, sex, protective equipment, exposure level, time of day).

2. Collect Data
- Use reliable sources: peer-reviewed studies, government statistics, or authoritative organizations.
- Copy data values verbatim into the tables. Do not pre-convert.
- Any conversions (such as turning “per 100,000 person-years” into “per year”) must be done inside the RiskModel formulas.

3. Data Subpage (RiskName/Data)
- Create one <datatable2> per factor.
- Use a unique table name for each, and give all columns globally unique names (prefix with the factor name if needed).
- Add a <head> section with friendly labels.
- Populate rows with verbatim values from the source.
- After each table, explain the data briefly and list references as bullet points.
- Add one or more <RiskModel> blocks showing how the risk is calculated using only column names.
- End the page with an attribution line: Generated by [AI_NAME_AND_VERSION] (where the AI system fills in its own name and version, such as ChatGPT-5, Grok, or Gemini).

4. Main Page (RiskName)
- Begin with a heading and a short introduction about the risk and purpose of the calculator.
- Add a section “Your Inputs.” For each factor, include a <DropDown> linked to the relevant table. Place a plain-language explanation before each dropdown.
- Add a section “Your Results.” Include a <RiskDisplay> for each RiskModel.
- End with the attribution line.

Safeguards

- Verbatim Data: Tables must contain exactly what the sources report. Conversions only in RiskModels.
- Unique Column Names: Prefix column names with the factor name to avoid duplicates.
- Dropdown Explanations: Place text before each <DropDown> tag.
- Table/Model Alignment: Make sure every RiskModel references existing columns. If multiple outcomes depend on the same input (e.g., age), put them in the same table.
- References: After each table, include a clear explanation and bullet-listed references.
- Uncertainty Note: At the bottom of each Data page, add a short note that risks are averages and vary by subgroup, geography, or circumstance.
- Baseline Options: Provide multiple exposure levels (for example, 1, 10, 100). Use user-friendly labels like “1 year,” “10 years,” “100 years.”
- Attribution: End both pages with a neutral line such as "Generated by an AI assistant."

Examples

See existing pages like:
- Parachuting https://riski.wiki/wiki/Parachuting?action=raw
- Driving https://riski.wiki/wiki/Driving?action=raw

These demonstrate how baseline tables, modifiers, models, references, and results are combined.