Skip to content

Commit cb5ca90

Browse files
committed
Fixed search prompt
1 parent 3e6a037 commit cb5ca90

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scrapegraphai/nodes/search_internet_node.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ def execute(self, state: dict) -> dict:
8282
For example, if the user prompt is "What is the capital of France?",
8383
you should return "capital of France". \n
8484
If you return something else, you will get a really bad grade. \n
85+
What you return should be sufficient to get the answer from the internet. \n
86+
I.E. don't just return a small part of the prompt. \n
8587
USER PROMPT: {user_prompt}"""
8688

8789
search_prompt = PromptTemplate(

0 commit comments

Comments
 (0)