Skip to content

riskAssessment

Edit on GitHub View Code


Supported Response Area Types

This evaluation function is supported by the following Response Area components:

  • TABLE

Lambda Feedback Setup

  1. In teacher mode, create a new response area.
  2. Within the response area, click "Configure".
  3. Click the "Input" tab and change the input type to Table and make the Table have 12 rows and 1 column.
  4. Remove the column name and add the following names to the rows: column names
  5. Click the "Evaluate" tab and select "riskAssessment" from the Evaluation Function dropdown. Example lambda feedback evaluation function parameters
  6. As done in the above screenshot, in the "Evaluate" tab, set is_risk_matrix = False, set is_feedback_text = False, set is_risk_assessment = True and LLM to one of the following options:
  7. "Claude Opus"
  8. "Claude Sonnet"
  9. "Claude Haiku"
  10. "GPT-4 Turbo"
  11. "GPT-3.5 Turbo 1106"
  12. "Mistral Large"
  13. "Mixtral 8x22B"
  14. "Mixtral 8x7B"

The recommended LLM is Claude Sonnet.

Outputs

Example risk assessment inputs Example inputs

Coresponding risk assessment outputs Example outputs