This was simply a matter of changing one line in stampy-chat/api/src/stampy_chat/settings.py
QUESTION_PROMPT = (
"In your answer, please cite any claims you make back to each source "
"using the format: [1], [2], etc. If you use multiple sources to make a claim "
"cite all of them. For example: \"AGI is concerning [1, 3, 8].\"\n\n"
)
to
QUESTION_PROMPT = (
"In your answer, please cite any claims you make back to each source "
"using the format: [1], [2], etc. If you use multiple sources to make a claim "
"cite all of them. For example: \"AGI is concerning. [1, 3, 8]\" (note the period placement)\n\n"
)
I am unable to run this codebase on my local machine (due to dependencies issues caused by an outdated MacOS, I think), but I'm 98% confident this will work, since the reason for the unwanted behaviour was so explicit.
This was simply a matter of changing one line in stampy-chat/api/src/stampy_chat/settings.py
to
I am unable to run this codebase on my local machine (due to dependencies issues caused by an outdated MacOS, I think), but I'm 98% confident this will work, since the reason for the unwanted behaviour was so explicit.