AC-Angelo93 commited on
Commit
bf69dcb
·
verified ·
1 Parent(s): b249bd8

Create prompts.py

Browse files
Files changed (1) hide show
  1. prompts.py +9 -0
prompts.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ def build_cot_prompt(question: str) -> str:
2
+ return f"""You are a careful and logical assistant.
3
+
4
+ Please solve the following question step-by-step:
5
+
6
+ Question: {question}
7
+
8
+ Answer (with chain of thought):
9
+ """