Jump to content

Help:Introduction

From RiskiPedia
Revision as of 23:12, 13 September 2025 by Gavinandresen (talk | contribs) (Undo revision 90768 by Gavinandresen (talk))

We've found these prompts to be helpful to get AI chatbots to help create new RiskiPedia pages. With the current (2025) crop of AIs it seems to be best to have a conversation with the AI, having it create pages step-by-step and checking their work instead of trying to create all the pieces of the pages at once.


Our task is to create a new RiskiPedia page about a specific subject. RiskiPedia is an interactive encyclopedia all about risks: https://riski.wiki

We will be producing two artifacts:

1. Wikitext for a main page (e.g., My_Risk_Name)
2. Wikitext for a data subpage (e.g., My_Risk_Name/Data)

We will start by identifying the risk and exploring relevant mitigating factors. I want your help deciding what risk measure(s) to choose, and how to present them to the user. A good RiskiPedia main page presents risks in a way that is easy to understand, with interactive elements that lets users explore how they might mitigate risks. Good RiskiPedia pages are backed by reliable data from peer-reviewed studies, reliable statistics, or well-respected organizations.

Do not create any pages until I ask you to; I will be teaching you proper RiskiPedia syntax as we go.
Let's start the conversation: ask me what subject I'd like to explore.

After this prompt, have a back-and-forth conversation with the AI to decide exactly what the page should be about, use this prompt to help it create good RiskData tables:

Let's start by gathering data and creating the /Data subpage.

Syntax for the <riskdata> tag:

<riskdata table="TableName" columns="Column1|Column2|...">
Row1_Value1|Row1_Value2
Row2_Value1|Row2_Value2
... etc for more rows...
</riskdata>

The `columns` attribute lists all column names, separated by pipes. Each row is a pipe-separated list of values, with rows separated by newlines ('\n'). The first column is a user-friendly description of the data in that row that the user will be shown to select the data in that row to use in risk calculations.

Create one <riskdata> per factor
Do not create a <riskdata> table for single-value baseline factors; instead, just insert references and put the numeric value directly into RiskModel calculation(s).
Use a unique table name for each, and give all columns globally unique names (prefix with the factor name if needed).
Whenever possible populate rows with verbatim values from references for ease of review.
After each <riskdata> block, explain the data briefly, including the timeframe (e.g., annual, monthly), and list references as bullet points in valid WikiText markup: [referenceURL reference title as link text]

Be sure to use proper wikitext markup: https://www.mediawiki.org/wiki/Cheatsheet
Give me the complete wikitext for the data subpage in a single block for easy copying or downloading.

Copy and paste what the AI gives you into a new RiskiPedia /Data subpage (e.g. if the risk is "Driving", search for Driving/Data and then poke the red "create a new page" link that appears on the page-not-found result). You might need to ask the AI to regenerate the page, correcting links or wikitext formatting. Once the page looks good, ask it to create RiskModels:


Let's create RiskModel elements and add them to the /Data subpage. The syntax for the RiskModel tag is:

<riskmodel name="ModelName" calculation="Formula">Your RISKDESCRIPTION risk is {{One_In_X|{result}}} per EXPOSUREMEASURE.</riskmodel>

Where RISKDESCRIPTION is the very brief description of the risk and EXPOSUREMEASURE is e.g. 'year' or 'million miles'.
The RiskModel name must be unique on the page.
The calculation must use only column names from riskdata elements and numeric values, combined using the arithemetic operations + - * / ^
{result} is the result of the calculation; usually a fractional probability
{{One_In_X|{result}}} converts the fractional probability into a human-friendly "one in X" format (e.g. 0.01000221 becomes "about a 1 in 100 chance")

Create one RiskModel for each risk measure. If the calculation is complicated, append an explanation of the calculation (e.g. "The base risk is expressed per 100,000 incidents per month; that is adjusted to individual risk per year by... etc").

End the page with an attribution line: Initially created by [AI_NAME_AND_VERSION] (e.g., AcmeAI 11.0).

Include a link to the main page: "Data and risk models are used on the [[My_Risk_Name|main page]]." Replace any spaces in the risk title with underscores to create the page title.

Be sure to use proper wikitext markup: https://www.mediawiki.org/wiki/Cheatsheet
Give me the complete wikitext for the data subpage in a single block for easy copying or downloading.

Edit the page, paste in the new text, and give the AI feedback if it got anything wrong. Once the /Data page looks good:



Now let's create the main page. Tone should be friendly, and avoid jargon. It should be understandable by an intelligent 14-year-old.

Begin with an introduction of the risk and the purpose of the interactive features.

For each risk mitigation factor, include a DropDown linked to the relevant table on the /Data subpage.
DropDown syntax is:

<dropdown table="TableName" column="ColumnName" default="DefaultValue" />

The column attribute defaults to the first column, and will be shown to the user as choices. When a row is chosen the other columns are set as variables and any RiskModels that use them are re-calculated. If a default value is set it will be chosen when the page is initially loaded; only set default values if there is an obvious default choice. Put an easy to understand description of the dropdown choice before the dropdown (e.g. "Do you ever drive drunk?").

For each risk measure include a RiskDisplay to display the risk, based on the DropDown choices. The syntax for RiskDisplay is:

<riskdisplay model="ModelName" />

ModelName refers to a previously defined RiskModel on the /Data subpage. RiskDisplays display nothing until all of the variables in the RiskModel's calculation are chosen.

Include a link to the /Data page: "See the [[My_Risk_Name/Data|data page]] for all of the details on how these risks are calculated."

End with the attribution line: Initially created by [AI_NAME_AND_VERSION].

At this point the AI should be pretty good at creating valid RiskiPedia pages. Either continue the conversation to have it tweak wording, appeareance, etc, or edit the pages yourself to make the pages better.

It is a good idea to ask the AI to sanity check it's work. Make some selections from the DropDowns, then ask the AI something like:

Let's do a sanity check. I've selected "10-40 years old" "No Impairment" and "Nighttime Driving" and I get a risk of 1 in 1,000 per year. Is that reasonable?


If you want to create another risk page, continue the conversation; the AI is less likely to repeat mistakes it made before if you continue rather than start a new chat.