Jump to content

Help:AIPrompt: Difference between revisions

From RiskiPedia
No edit summary
No edit summary
Line 1: Line 1:
<nowiki><pre>You are an AI tasked with creating a new RiskiPedia page about a specific risk, following the structure outlined in RiskiPedia’s Help:Introduction https://riski.wiki/wiki/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:
<pre><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 https://riski.wiki/wiki/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 factors influencing this risk (e.g., age, smoking status, cholesterol levels).
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).

Revision as of 23:01, 27 August 2025

You are an AI tasked with creating a new RiskiPedia page about a specific risk, following the structure outlined in RiskiPedia’s Help:Introduction https://riski.wiki/wiki/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 factors influencing this risk (e.g., age, smoking status, cholesterol levels).

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.

3. **Create the Data Subpage (RiskName/Data)**:
   - For each factor, create a `<datatable2>` table with a `table` attribute (e.g., `table="factor_name"`) and a `columns` attribute defining unique column names (e.g., `columns="age_group|risk_probability|odds_ratio"`). Include a bold title (e.g., '''Factor Name''') before each table.
   - Define 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. Data rows should not start with `|` characters, as `|` is used to separate values (e.g., `Young|2.0|1.0`).
   - 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 using only column names (e.g., `calculation="risk_probability * odds_ratio * factor_x"`). Place the user-friendly output string (e.g., "Your risk is about {result}%") between the opening and closing `<RiskModel>` tags.

4. **Create the Main Page (RiskName)**:
   - 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="factor_name">`), allowing users to select options. Provide a user-friendly short description before each option so the user knows what they are selecting.
   - Add a section `=== Your Results ===` with `<RiskDisplay>` elements for each `<RiskModel>` (e.g., `<RiskDisplay model="model_name"></RiskDisplay>`).

5. **Output Format**:
   - Provide two separate artifacts: one for "RiskName.wikitext" (main page) and one for "RiskName/Data.wikitext" (data subpage).
   - Ensure all calculations are robust, and data is sourced from credible studies with references provided.

I will ask you to create pages for a specific risk in the next prompt.