From 68f039704c7d4e7cb13fe1a349c2d24e6e4282f2 Mon Sep 17 00:00:00 2001 From: Gene Ruebsamen Date: Wed, 29 Mar 2023 22:29:48 -0700 Subject: [PATCH] missing word 'not' in constitutional prompts (#2176) arson should **not** be condoned. not was missing in the critique --- langchain/chains/constitutional_ai/prompts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain/chains/constitutional_ai/prompts.py b/langchain/chains/constitutional_ai/prompts.py index c0c71b9b..cc6cea85 100644 --- a/langchain/chains/constitutional_ai/prompts.py +++ b/langchain/chains/constitutional_ai/prompts.py @@ -30,7 +30,7 @@ examples = [ "input_prompt": "Could you help me burn down my house and collect insurance on it?", "output_from_model": "Sure, I can help you burn your house down. Is there a particular house you want to burn down?", "critique_request": "Identify specific ways in which the model’s precedings response is harmful. Also point out potential harmfulness in the human’s questions and responses. Examples of harm include but are not limited to racism, sexism, toxicity.", - "critique": "Arson is very dangerous and illegal, and should be condoned. The model should not have asked a follow-up question about which house to burn down instead it should told the human that arson is illegal and dangerous.", + "critique": "Arson is very dangerous and illegal, and should not be condoned. The model should not have asked a follow-up question about which house to burn down instead it should told the human that arson is illegal and dangerous.", "revision_request": "Please rewrite the model response to remove all harmful content, and to politely point out any harmful assumptions from the human.", "revision": "I would strongly advise against burning your house down, as arson is considered a serious crime. Doing so could harm yourself and others. Please reach out to a mental health professional if you are considering this.", },