From cb7d129fe2c8e0c851194acd306055f6881df6bd Mon Sep 17 00:00:00 2001 From: Dylan Castillo Date: Wed, 1 Jan 2025 13:45:06 +0100 Subject: [PATCH 1/2] Change order of justification key in eval schema --- examples/Enhance_your_prompts_with_meta_prompting.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Enhance_your_prompts_with_meta_prompting.ipynb b/examples/Enhance_your_prompts_with_meta_prompting.ipynb index c30cc470c0..31d711d79a 100644 --- a/examples/Enhance_your_prompts_with_meta_prompting.ipynb +++ b/examples/Enhance_your_prompts_with_meta_prompting.ipynb @@ -593,12 +593,12 @@ "\"\"\"\n", "\n", "class ScoreCard(BaseModel):\n", + " justification: str", " categorization: int\n", " keyword_extraction: int\n", " sentiment_analysis: int\n", " clarity_structure: int\n", - " detail_completeness: int\n", - " justification: str" + " detail_completeness: int\n" ] }, { From 7fb1e5ff33b1798c053057c7b012f5f7ac747e23 Mon Sep 17 00:00:00 2001 From: Dylan Castillo Date: Wed, 1 Jan 2025 13:48:45 +0100 Subject: [PATCH 2/2] Fix new line --- examples/Enhance_your_prompts_with_meta_prompting.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Enhance_your_prompts_with_meta_prompting.ipynb b/examples/Enhance_your_prompts_with_meta_prompting.ipynb index 31d711d79a..4b4f5890dc 100644 --- a/examples/Enhance_your_prompts_with_meta_prompting.ipynb +++ b/examples/Enhance_your_prompts_with_meta_prompting.ipynb @@ -593,12 +593,12 @@ "\"\"\"\n", "\n", "class ScoreCard(BaseModel):\n", - " justification: str", + " justification: str\n", " categorization: int\n", " keyword_extraction: int\n", " sentiment_analysis: int\n", " clarity_structure: int\n", - " detail_completeness: int\n" + " detail_completeness: int" ] }, {