Skip to content

✦ AI Scoping ​

AI-assisted RI Scoping speeds up pre-filling analyses by automatically generating scenarios from a text description of your facility. It's an optional but effective step before starting the analysis pages.

AI configuration ​

Before any generation, fill in two parameters in the ⚙ AI Configuration block:

AI engine — configured once for the whole application on /gestion/ia (see AI Configuration), among 8 available engines: Gemini, Claude, Mistral, Groq, HuggingFace, OpenRouter, Ollama (local model, no data leaves your machine) and a custom provider. The most commonly used for RI Scoping:

  • Gemini Flash/Pro (Google) — recommended for large scenario lists; free with a generous quota
  • Claude Haiku/Sonnet (Anthropic) — better reasoning quality, requires a paid Anthropic account
  • Ollama (local) — for sensitive context, runs the model on your machine with no API key and no outgoing data

API key — enter your key in the password field. The key is stored locally in your browser (never sent to EasyRisk servers).

Getting a free Gemini key

  1. Go to aistudio.google.com
  2. Sign in with a Google account
  3. Click Get API key → Create API key
  4. Copy the key (starts with AIza…) and paste it into the API key field
  5. The free quota is more than enough for a complete study (hundreds of generations/day)

No credit card required for the free plan.

Getting a Claude key (Anthropic)

  1. Go to console.anthropic.com
  2. Create an account and add a payment method (pay-as-you-go billing)
  3. In API Keys, click Create Key
  4. Copy the key (starts with sk-ant-…)

The typical cost for a complete RI study (PHA + FMEA + HAZOP) is on the order of a few cents with Haiku.

Method tabs ​

Select the method to pre-fill:

TabStatusWhat is generated
⚙ PHA — Physical risksAvailablePHA scenarios (hazard, feared event, causes, consequences, measures)
☣ PHA — Hazard studyAvailableHazard study scenarios (ERC, hazardous phenomena, MMR, PIGC rating)
🔩 FMEAAvailableFailure modes per component (effects, causes, S/O/D rating)
📋 HAZOPAvailableDeviations per node and guide word (causes, consequences, measures)
📊 LOPAAvailableLOPA scenarios with estimated IPLs and PFDs
🔷 Bow TieComing soon(under development)
🌳 Fault Tree AnalysisComing soon(under development)

Description sheet ​

Each tab offers a downloadable sheet (.txt) listing the sections to fill in to maximize the quality of the generation:

  • ⬇ Download the sheet — retrieves the structured sheet template for the active method
  • Load [method] example — inserts a complete, pre-filled example to test the generation without real data
  • Clear — empties the text area

Enter at least 400 characters in the description area (indicator shown at the bottom of the area) — below that, the AI lacks context and produces generic scenarios.

Description area ​

Paste or type the description of your facility into the text area. You can use:

  • The content of the downloaded sheet (sections filled in)
  • An excerpt from an existing study report
  • A free-form description in natural language

Running the generation ​

  1. Click ✦ Analyze and pre-fill — [Method]
  2. A confirmation box appears — it reminds you that the generated scenarios will be added to the existing data (nothing is erased)
  3. Click Start import to confirm
  4. Generation takes 10 to 60 seconds depending on the engine and the length of the description (a counter is displayed)
  5. On success, an import summary is shown with the number of scenarios created and a direct link to the dedicated page

Confidentiality

The text in the description area is sent to the chosen AI service (except with Ollama, where it never leaves your machine). Do not paste real personal data, sensitive industrial secrets or NDA-protected information in a demonstration context.

After generation ​

Go to the method's page to review the imported scenarios:

  • Complete empty or incomplete fields
  • Correct ratings if they don't match the project's metrics
  • Remove irrelevant scenarios
  • Add specific scenarios the AI may not have covered

Generation quality

The more precise the description (named equipment, pressures, temperatures, materials, existing barriers), the better the scenarios. The example provided in each tab illustrates the expected level of detail.

Polyodos — Documentation utilisateur