From 052f7d5e66436c97e17491c00b86c382642490b6 Mon Sep 17 00:00:00 2001 From: Federico Aguzzi <62149513+f-aguzzi@users.noreply.github.com> Date: Tue, 20 Aug 2024 09:53:35 +0200 Subject: [PATCH] fix(SearchNode): prompt Co-Authored-By: Andrew Masek <8219702+portoaj@users.noreply.github.com> --- scrapegraphai/prompts/search_internet_node_prompts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scrapegraphai/prompts/search_internet_node_prompts.py b/scrapegraphai/prompts/search_internet_node_prompts.py index d786647b..f0508a53 100644 --- a/scrapegraphai/prompts/search_internet_node_prompts.py +++ b/scrapegraphai/prompts/search_internet_node_prompts.py @@ -11,4 +11,6 @@ You should return only the query string without any additional sentences. \n For example, if the user prompt is "What is the capital of France?", you should return "capital of France". \n If you return something else, you will get a really bad grade. \n +What you return should be sufficient to get the answer from the internet. \n +Don't just return a small part of the prompt, unless that is sufficient. \n USER PROMPT: {user_prompt}"""