drop unused f-strings

This commit is contained in:
Fraser
2023-07-09 14:44:31 -04:00
parent 348cb5940e
commit f839ff6863
+3 -3
View File
@@ -112,9 +112,9 @@ def construct_prompt(query: str, history: List[Dict[str, str]], context: List[Bl
prompt.extend(history_trnc[::-1])
question_prompt = f"In your answer, please cite any claims you make back to each source " \
f"using the format: [a], [b], etc. If you use multiple sources to make a claim " \
f"cite all of them. For example: \"AGI is concerning [c, d, e].\"\n\nQ: " + query
question_prompt = "In your answer, please cite any claims you make back to each source " \
"using the format: [a], [b], etc. If you use multiple sources to make a claim " \
"cite all of them. For example: \"AGI is concerning [c, d, e].\"\n\nQ: " + query
prompt.append({"role": "user", "content": question_prompt})