Add Spellcheck and import hogwarts (#419)

This commit is contained in:
William FH
2024-05-08 10:25:11 -07:00
committed by GitHub
parent 7463c6fd44
commit 3e5ea31cdc
39 changed files with 272 additions and 82 deletions
@@ -242,7 +242,7 @@
" return solution[\"parsed\"]\n",
"\n",
"\n",
"# Wtih re-try to correct for failure to invoke tool\n",
"# With re-try to correct for failure to invoke tool\n",
"# TODO: Annoying errors w/ \"user\" vs \"assistant\"\n",
"# Roles must alternate between \"user\" and \"assistant\", but found multiple \"user\" roles in a row\n",
"code_gen_chain = code_gen_chain_re_try | parse_output\n",
@@ -728,7 +728,7 @@
"\n",
"* `LangGraph outperforms base case`: adding re-try loop improve performance\n",
"* `Reflection did not help`: reflection prior to re-try regression vs just passing errors directly back to the LLM\n",
"* `GPT-4 outperforms Claude3`: Claude3 had 3 and 1 run fail due to tool-use error for Opus and Haiku, repspectively\n",
"* `GPT-4 outperforms Claude3`: Claude3 had 3 and 1 run fail due to tool-use error for Opus and Haiku, respectively\n",
"\n",
"https://smith.langchain.com/public/78a3d858-c811-4e46-91cb-0f10ef56260b/d"
]