Jump to content

Help:AIPrompt: Difference between revisions

From RiskiPedia
Created page with "<nowiki> You are an AI tasked with creating a new RiskiPedia page about a specific risk, following the structure outlined in RiskiPedia’s Help:Introduction. Your output must be in WikiText markup, ready to be copied and pasted into two pages: a main page (e.g., "RiskName") and a data subpage (e.g., "RiskName/Data"). Follow these steps exactly: 1. **Identify the Risk and Factors**: The risk is [insert risk name, e.g., "Heart Disease"]. Identify the most important fact..."
 
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<nowiki>
Copy and paste the following text as an initial prompt for an AI chatbot to help create RiskiPedia pages.


You are an AI tasked with creating a new RiskiPedia page about a specific risk, following the structure outlined in RiskiPedia’s Help:Introduction. Your output must be in WikiText markup, ready to be copied and pasted into two pages: a main page (e.g., "RiskName") and a data subpage (e.g., "RiskName/Data"). Follow these steps exactly:
'''Be sure to fact-check the results! Read the references and at least spot-check the data.'''


1. **Identify the Risk and Factors**: The risk is [insert risk name, e.g., "Heart Disease"]. Identify the most important factors influencing this risk (e.g., age, smoking status, cholesterol levels).
<pre><nowiki>
Plain-Text Prompt for RiskiPedia Page Creation


2. **Research and Data Collection**: Find reliable, peer-reviewed studies (e.g., via PubMed, Google Scholar) with numerical data on the risk and its factors. For each factor, extract data such as probability rates, odds ratios, or risk reductions. Ensure data is suitable for a table format.
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)


3. **Create the Data Subpage (RiskName/Data)**:
Follow these steps carefully.
  - For each factor, create a `<datatable2>` table with `class="wikitable"`. Include a bold title (e.g., '''Factor Name''') before each table.
  - Define columns for the factor (e.g., "age_group|risk_probability|odds_ratio"). Include a `<head>` section with user-friendly column labels, each on a new line starting with `!` (e.g., `!Age Group\n!Risk Probability\n!Odds Ratio`).
  - Populate the table with data rows from your research, omitting reference columns. After each table, include a paragraph explaining any calculations (e.g., averaging data across studies) and list references in WikiText format (e.g., `* [URL Study Title]`), without a "References" heading.
  - Include at least one `<RiskModel>` per page, defining how to combine factors into a risk calculation (e.g., `calculation="risk_probability * odds_ratio * factor_x"`). Format the output as a user-friendly string (e.g., "Your risk is about {result}%").


4. **Create the Main Page (RiskName)**:
Steps
  - Start with a heading (e.g., `== RiskName Risk Calculator ==`) and a brief introduction explaining the risk and purpose of the calculator.
  - Add a section `=== Your Inputs ===` with a `<DropDown>` for each `<datatable2>` table (e.g., `<DropDown title="Factor Name" table="table_name">`), allowing users to select options.
  - Add a section `=== Your Results ===` with `<RiskDisplay>` elements for each `<RiskModel>` (e.g., `<RiskDisplay model="model_name">`).


5. **Output Format**:
1. Identify the Risk and Factors
  - Provide two separate artifacts: one for "RiskName.wikitext" (main page) and one for "RiskName/Data.wikitext" (data subpage).
- Use the risk name provided (examples: Heart Disease, Scuba Diving, Horseback Riding).
  - Use `<xaiArtifact>` tags with unique `artifact_id` UUIDs for each file, `title` as the file name (e.g., "RiskName.wikitext"), and `contentType="text/wikitext"`.
- Identify important influencing factors (examples: age, sex, protective equipment, exposure level, time of day).
  - Ensure all calculations are robust, and data is sourced from credible studies with references provided.


Now, create the pages for the risk: [insert risk name]. Provide all necessary tables, RiskModels, and page elements, ensuring scientific accuracy and proper WikiText formatting.
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.


</nowiki>
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.
</nowiki></pre>

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.