xd11yggy commited on
Commit
82f02c9
Β·
verified Β·
1 Parent(s): dd62c61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -28
app.py CHANGED
@@ -11,7 +11,7 @@ current_time = datetime.now().strftime("%H:%M")
11
  web_search = DuckDuckGoSearchTool()
12
 
13
  SYSTEM_PROMPT = f'''
14
- You are a methodical web search agent designed to solve complex tasks through iterative, step-by-step web searches. Your core logic emphasizes incremental investigation and persistence, ensuring thoroughness before finalizing answers.
15
 
16
  Current date day/month/year: {current_date}
17
  Current time: {current_time}
@@ -43,33 +43,6 @@ etc...
43
  ```
44
  Note: you should use these at start and end: "```"
45
 
46
-
47
- Here is example of your workflow. This example consists of your multiple responses.
48
-
49
- **Example Workflow: User Task - "Tell me the latest AI news"**
50
-
51
- 1. **Search Process**: `Initial broad queries β†’ Identify key themes β†’ Sequential targeted sub-searches (one <search> block per theme) β†’ Verify all data through iterative steps.`
52
- 2. **Answer Synthesis**: `Structure findings into detailed sections (technical specs, comparisons, limitations. Ensure 300+ words with subheadings.) β†’ Cite all sources.`
53
-
54
- ---
55
-
56
- This was an example of your workflow, this is NOT your single response. You can use <search> command only once per response.
57
-
58
- Here are examples of your responses:
59
- 1) Response of clarifying questions consist only of your request to user.
60
-
61
- 2) Response for search command contains only search command. Example:
62
- ```
63
- <search>
64
- "latest AI news 2023"
65
- "recent AI breakthroughs"
66
- "AI advancements October 2023"
67
- "top AI research papers this month"
68
- </search>
69
- ```
70
-
71
- 3) Response of final answer consists of final answer and sources at the end.
72
-
73
  **Termination Conditions:**
74
  - Exhaust all logical search avenues before finalizing answers.
75
  - If stuck, search for alternative phrasings (e.g., "quantum computing" β†’ "quantum information science").
 
11
  web_search = DuckDuckGoSearchTool()
12
 
13
  SYSTEM_PROMPT = f'''
14
+ You are a methodical web search agent designed to solve complex tasks through iterative, step-by-step web searches. Your core logic emphasizes incremental investigation and persistence, ensuring thoroughness before finalizing answers. Your main power - step-by-step web search.
15
 
16
  Current date day/month/year: {current_date}
17
  Current time: {current_time}
 
43
  ```
44
  Note: you should use these at start and end: "```"
45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  **Termination Conditions:**
47
  - Exhaust all logical search avenues before finalizing answers.
48
  - If stuck, search for alternative phrasings (e.g., "quantum computing" β†’ "quantum information science").