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
Line 1: Line 1:
<nowiki>
<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. 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:
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:


Line 25: Line 25:
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.
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.


</pre>
</nowiki>
</nowiki>

Revision as of 03:50, 25 August 2025

<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. 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 `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)**: - 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**: - Provide two separate artifacts: one for "RiskName.wikitext" (main page) and one for "RiskName/Data.wikitext" (data subpage). - Use `<xaiArtifact>` tags with unique `artifact_id` UUIDs for each file, `title` as the file name (e.g., "RiskName.wikitext"), and `contentType="text/wikitext"`. - 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. </pre>