Skip to content

Commit

Permalink
Implement changes from @henri123lemoine review
Browse files Browse the repository at this point in the history
  • Loading branch information
FraserLee committed Jul 12, 2023
1 parent 8303bf1 commit df40ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def construct_prompt(query: str, mode: str, history: List[Dict[str, str]], conte

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\n"
"cite all of them. For example: \"AGI is concerning [c, d, e].\"\n\n"

if mode == "crux":
question_prompt += "Answer very concisely, getting to the crux of the matter in as " \
Expand Down

0 comments on commit df40ca4

Please sign in to comment.