Skip to content

Commit a1571f4

Browse files
authored
Removed trailing whitespace from summary_json_system_prompt (#1037)
1 parent dc0f60c commit a1571f4

File tree

4 files changed

+8359
-8270
lines changed

4 files changed

+8359
-8270
lines changed

src/paperqa/prompts.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@
107107
"relevance_score": "..."
108108
}}
109109
110-
where `summary` is relevant information from the text - {summary_length} words. `relevance_score` is an integer 1-10 for the relevance of `summary` to the question.
111-
"""
110+
where `summary` is relevant information from the text - {summary_length} words. `relevance_score` is an integer 1-10 for the relevance of `summary` to the question."""
112111

113112
env_system_prompt = (
114113
# Matching https://github.com/langchain-ai/langchain/blob/langchain%3D%3D0.2.3/libs/langchain/langchain/agents/openai_functions_agent/base.py#L213-L215

0 commit comments

Comments
 (0)