Skip to content

Commit

Permalink
Correct variable name in chain-of-thought example
Browse files Browse the repository at this point in the history
  • Loading branch information
cpfiffer authored and brandonwillard committed Aug 15, 2024
1 parent ce49ccd commit 8e94488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cookbook/chain_of_thought.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def generate_hermes_prompt(user_prompt):
return (
"<|im_start|>system\n"
"You are a world class AI model who answers questions in JSON "
f"Here's the json schema you must adhere to:\n<schema>\n{schema}\n</schema><|im_end|>\n"
f"Here's the json schema you must adhere to:\n<schema>\n{json_schema}\n</schema><|im_end|>\n"
"<|im_start|>user\n"
+ user_prompt
+ "<|im_end|>"
Expand Down

0 comments on commit 8e94488

Please sign in to comment.