Skip to content

Examples and guides for using the OpenAI API

Change order of justification key in eval schema (#1619)

Dylan Castillob59673c9cade
diff --git a/examples/Enhance_your_prompts_with_meta_prompting.ipynb b/examples/Enhance_your_prompts_with_meta_prompting.ipynb
index c30cc470..4b4f5890 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\n",
" categorization: int\n",
" keyword_extraction: int\n",
" sentiment_analysis: int\n",
" clarity_structure: int\n",
- " detail_completeness: int\n",
- " justification: str"
+ " detail_completeness: int"
]
},
{