From c4d19a29920ce2bc70a621dabdc5acc9f795f256 Mon Sep 17 00:00:00 2001 From: fibonacci998 Date: Wed, 5 Feb 2025 14:37:13 +0700 Subject: [PATCH] fix: add language param to generate_outline_report_prompt --- gpt_researcher/prompts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpt_researcher/prompts.py b/gpt_researcher/prompts.py index 54d0731e2..0960c561f 100644 --- a/gpt_researcher/prompts.py +++ b/gpt_researcher/prompts.py @@ -185,7 +185,7 @@ def generate_custom_report_prompt( def generate_outline_report_prompt( - question, context, report_source: str, report_format="apa", tone=None, total_words=1000 + question, context, report_source: str, report_format="apa", tone=None, total_words=1000, language: str = "english" ): """Generates the outline report prompt for the given question and research summary. Args: question (str): The question to generate the outline report prompt for