From 4b8dc94693d5700d0e8db0ecb0072179fc09beea Mon Sep 17 00:00:00 2001 From: lena-larionova Date: Wed, 7 Aug 2024 09:45:54 -0700 Subject: [PATCH] add missing prompts key --- examples/ai-prompt-decorator/_3.6.x.yaml | 21 +++++++++++---------- examples/ai-prompt-decorator/_3.7.x.yaml | 21 +++++++++++---------- examples/ai-prompt-decorator/_3.8.x.yaml | 21 +++++++++++---------- 3 files changed, 33 insertions(+), 30 deletions(-) diff --git a/examples/ai-prompt-decorator/_3.6.x.yaml b/examples/ai-prompt-decorator/_3.6.x.yaml index 4e743eb9..50a84994 100644 --- a/examples/ai-prompt-decorator/_3.6.x.yaml +++ b/examples/ai-prompt-decorator/_3.6.x.yaml @@ -1,12 +1,13 @@ name: ai-prompt-decorator config: - prepend: - - role: "system" - content: "You are data scientist, specialising in survey analytics." - - role: "user" - content: "Classify this test result set as positive, negative, or neutral." - - role: "assistant" - content: "These tests are NEUTRAL." - append: - - role: "user" - content: "Do not mention any real participants name in your justification." + prompts: + prepend: + - role: "system" + content: "You are data scientist, specialising in survey analytics." + - role: "user" + content: "Classify this test result set as positive, negative, or neutral." + - role: "assistant" + content: "These tests are NEUTRAL." + append: + - role: "user" + content: "Do not mention any real participants name in your justification." diff --git a/examples/ai-prompt-decorator/_3.7.x.yaml b/examples/ai-prompt-decorator/_3.7.x.yaml index 4e743eb9..50a84994 100644 --- a/examples/ai-prompt-decorator/_3.7.x.yaml +++ b/examples/ai-prompt-decorator/_3.7.x.yaml @@ -1,12 +1,13 @@ name: ai-prompt-decorator config: - prepend: - - role: "system" - content: "You are data scientist, specialising in survey analytics." - - role: "user" - content: "Classify this test result set as positive, negative, or neutral." - - role: "assistant" - content: "These tests are NEUTRAL." - append: - - role: "user" - content: "Do not mention any real participants name in your justification." + prompts: + prepend: + - role: "system" + content: "You are data scientist, specialising in survey analytics." + - role: "user" + content: "Classify this test result set as positive, negative, or neutral." + - role: "assistant" + content: "These tests are NEUTRAL." + append: + - role: "user" + content: "Do not mention any real participants name in your justification." diff --git a/examples/ai-prompt-decorator/_3.8.x.yaml b/examples/ai-prompt-decorator/_3.8.x.yaml index 4e743eb9..50a84994 100644 --- a/examples/ai-prompt-decorator/_3.8.x.yaml +++ b/examples/ai-prompt-decorator/_3.8.x.yaml @@ -1,12 +1,13 @@ name: ai-prompt-decorator config: - prepend: - - role: "system" - content: "You are data scientist, specialising in survey analytics." - - role: "user" - content: "Classify this test result set as positive, negative, or neutral." - - role: "assistant" - content: "These tests are NEUTRAL." - append: - - role: "user" - content: "Do not mention any real participants name in your justification." + prompts: + prepend: + - role: "system" + content: "You are data scientist, specialising in survey analytics." + - role: "user" + content: "Classify this test result set as positive, negative, or neutral." + - role: "assistant" + content: "These tests are NEUTRAL." + append: + - role: "user" + content: "Do not mention any real participants name in your justification."