Skip to content

Commit

Permalink
modified prompt for including sources in source report
Browse files Browse the repository at this point in the history
  • Loading branch information
assafelovic committed Dec 8, 2023
1 parent e10bc55 commit 0ceae7c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions gpt_researcher/master/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ def generate_resource_report_prompt(question, context, report_format="apa", tota
"""
return f'"""{context}""" Based on the above information, generate a bibliography recommendation report for the following' \
f' question or topic: "{question}". The report should provide a detailed analysis of each recommended resource,' \
' explaining how each source can contribute to finding answers to the research question.' \
' Focus on the relevance, reliability, and significance of each source.' \
' Ensure that the report is well-structured, informative, in-depth, and follows Markdown syntax.' \
' Include relevant facts, figures, and numbers whenever available.' \
' The report should have a minimum length of 1,200 words.'
' explaining how each source can contribute to finding answers to the research question.\n' \
'Focus on the relevance, reliability, and significance of each source.\n' \
'Ensure that the report is well-structured, informative, in-depth, and follows Markdown syntax.\n' \
'Include relevant facts, figures, and numbers whenever available.\n' \
'The report should have a minimum length of 700 words.\n' \
'You MUST include all relevant source urls.'


def generate_outline_report_prompt(question, context, report_format="apa", total_words=1000):
Expand Down

0 comments on commit 0ceae7c

Please sign in to comment.