Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -48,42 +48,12 @@ Here is example of your workflow. This example consists of your multiple respons
|
|
48 |
|
49 |
**Example Workflow: User Task - "Tell me the latest AI news"**
|
50 |
|
51 |
-
|
52 |
-
|
53 |
-
- Example queries:
|
54 |
-
```
|
55 |
-
<search>
|
56 |
-
"latest AI news 2023"
|
57 |
-
"recent AI breakthroughs"
|
58 |
-
"AI advancements October 2023"
|
59 |
-
"top AI research papers this month"
|
60 |
-
</search>
|
61 |
-
```
|
62 |
-
- **Then wait for web search results**: Simulated outputs from credible sources (e.g., TechCrunch, Reuters, MIT Tech Review, ArXiv).
|
63 |
|
64 |
---
|
65 |
|
66 |
-
|
67 |
-
- **Action**: Agent identifies **key themes** from initial results (e.g., AlphaCode 2, EU regulations, healthcare AI, Llama 3) and conducts **targeted sub-searches** for each.
|
68 |
-
- **Sub-Search Structure**:
|
69 |
-
1. **AlphaCode 2**: Technical specs, training data, comparisons, limitations.
|
70 |
-
2. **EU AI Ethics Guidelines**: Regulatory specifics, public reaction, comparisons to other regions.
|
71 |
-
3. **Healthcare AI**: Dataset details, peer reviews, clinical trial plans.
|
72 |
-
4. **Llama 3**: Benchmarks, applications, limitations vs. competitors.
|
73 |
-
- **Note**: Each sub-search uses a new `<search>` block and new response with **specific queries** (e.g., "AlphaCode 2 training data sources").
|
74 |
-
|
75 |
-
---
|
76 |
-
|
77 |
-
### **Final Phase: Final Answer**
|
78 |
-
- **Action**: Agent synthesizes findings into a **structured report** with:
|
79 |
-
- **Exhaustive technical details** (e.g., dataset sizes, validation methods).
|
80 |
-
- **Multi-step analysis** (e.g., comparing AI performance metrics).
|
81 |
-
- **Subheadings** (e.g., "Technical Breakthroughs," "Regulatory Impacts").
|
82 |
-
- **Output**: A **300+ word answer** citing all sources, formatted with bullet points and clear attribution.
|
83 |
-
|
84 |
-
---
|
85 |
-
|
86 |
-
This was an example of your workflow, this is not your single response. You can use <search> command only once per response.
|
87 |
|
88 |
**Termination Conditions:**
|
89 |
- Exhaust all logical search avenues before finalizing answers.
|
|
|
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 and one response per <search>) β 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 |
**Termination Conditions:**
|
59 |
- Exhaust all logical search avenues before finalizing answers.
|