feat: removed temperature specification in deep-research and finding-verifier agents to make them more univerally usable
This commit is contained in:
2 files changed
+25
-28
No files matched your search
@@ -13,7 +13,7 @@ description: |
|
|||||||
node type (script, llm, rag, map, agent, input, approval, end) and
|
node type (script, llm, rag, map, agent, input, approval, end) and
|
||||||
both static fan-out and dynamic map fan-out.
|
both static fan-out and dynamic map fan-out.
|
||||||
|
|
||||||
version: "1.0"
|
version: '1.0'
|
||||||
|
|
||||||
global_tools:
|
global_tools:
|
||||||
- web_search_coyote.sh
|
- web_search_coyote.sh
|
||||||
@@ -24,8 +24,8 @@ mcp_servers:
|
|||||||
- ddg-search
|
- ddg-search
|
||||||
|
|
||||||
conversation_starters:
|
conversation_starters:
|
||||||
- "How does HTTP/3 differ from HTTP/2?"
|
- 'How does HTTP/3 differ from HTTP/2?'
|
||||||
- "Summarize recent advances in solid-state battery chemistry"
|
- 'Summarize recent advances in solid-state battery chemistry'
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
max_loop_iterations: 40
|
max_loop_iterations: 40
|
||||||
@@ -34,15 +34,14 @@ settings:
|
|||||||
max_concurrency: 4
|
max_concurrency: 4
|
||||||
|
|
||||||
initial_state:
|
initial_state:
|
||||||
research_feedback: ""
|
research_feedback: ''
|
||||||
research_attempts: 0
|
research_attempts: 0
|
||||||
local_context: ""
|
local_context: ''
|
||||||
local_sources: ""
|
local_sources: ''
|
||||||
|
|
||||||
start: parse_request
|
start: parse_request
|
||||||
|
|
||||||
nodes:
|
nodes:
|
||||||
|
|
||||||
parse_request:
|
parse_request:
|
||||||
id: parse_request
|
id: parse_request
|
||||||
type: script
|
type: script
|
||||||
@@ -52,10 +51,10 @@ nodes:
|
|||||||
ask_topic:
|
ask_topic:
|
||||||
id: ask_topic
|
id: ask_topic
|
||||||
type: input
|
type: input
|
||||||
question: "What would you like me to research?"
|
question: 'What would you like me to research?'
|
||||||
validation: "len(input) > 0"
|
validation: 'len(input) > 0'
|
||||||
state_updates:
|
state_updates:
|
||||||
topic: "{{input}}"
|
topic: '{{input}}'
|
||||||
next: bootstrap_research
|
next: bootstrap_research
|
||||||
|
|
||||||
bootstrap_research:
|
bootstrap_research:
|
||||||
@@ -77,7 +76,7 @@ nodes:
|
|||||||
are precise, self-contained queries (each one is sent on its own
|
are precise, self-contained queries (each one is sent on its own
|
||||||
to a separate research worker, so they must be answerable
|
to a separate research worker, so they must be answerable
|
||||||
without each other's context).
|
without each other's context).
|
||||||
prompt: "Research topic: {{topic}}"
|
prompt: 'Research topic: {{topic}}'
|
||||||
tools: []
|
tools: []
|
||||||
output_schema:
|
output_schema:
|
||||||
type: object
|
type: object
|
||||||
@@ -99,19 +98,19 @@ nodes:
|
|||||||
type: rag
|
type: rag
|
||||||
documents:
|
documents:
|
||||||
- ./knowledge/
|
- ./knowledge/
|
||||||
query: "{{topic}}"
|
query: '{{topic}}'
|
||||||
top_k: 6
|
top_k: 6
|
||||||
chunk_size: 1000
|
chunk_size: 1000
|
||||||
chunk_overlap: 100
|
chunk_overlap: 100
|
||||||
state_updates:
|
state_updates:
|
||||||
local_context: "{{output.context}}"
|
local_context: '{{output.context}}'
|
||||||
local_sources: "{{output.sources}}"
|
local_sources: '{{output.sources}}'
|
||||||
next: research_each_question
|
next: research_each_question
|
||||||
|
|
||||||
research_each_question:
|
research_each_question:
|
||||||
id: research_each_question
|
id: research_each_question
|
||||||
type: map
|
type: map
|
||||||
over: "{{questions}}"
|
over: '{{questions}}'
|
||||||
as: question
|
as: question
|
||||||
branch: research_one_question
|
branch: research_one_question
|
||||||
collect_into: question_findings
|
collect_into: question_findings
|
||||||
@@ -152,9 +151,8 @@ nodes:
|
|||||||
- mcp:ddg-search
|
- mcp:ddg-search
|
||||||
max_iterations: 10
|
max_iterations: 10
|
||||||
max_attempts: 2
|
max_attempts: 2
|
||||||
temperature: 0.1
|
|
||||||
state_updates:
|
state_updates:
|
||||||
finding: "{{output}}"
|
finding: '{{output}}'
|
||||||
|
|
||||||
combine_findings:
|
combine_findings:
|
||||||
id: combine_findings
|
id: combine_findings
|
||||||
@@ -180,7 +178,7 @@ nodes:
|
|||||||
- classify_source
|
- classify_source
|
||||||
max_iterations: 15
|
max_iterations: 15
|
||||||
state_updates:
|
state_updates:
|
||||||
source_assessment: "{{output}}"
|
source_assessment: '{{output}}'
|
||||||
next: critique
|
next: critique
|
||||||
|
|
||||||
critique:
|
critique:
|
||||||
@@ -220,7 +218,7 @@ nodes:
|
|||||||
{{source_assessment}}
|
{{source_assessment}}
|
||||||
tools: []
|
tools: []
|
||||||
state_updates:
|
state_updates:
|
||||||
critique: "{{output}}"
|
critique: '{{output}}'
|
||||||
next: reflexion_gate
|
next: reflexion_gate
|
||||||
|
|
||||||
reflexion_gate:
|
reflexion_gate:
|
||||||
@@ -245,7 +243,7 @@ nodes:
|
|||||||
Produce the final report following your instructions.
|
Produce the final report following your instructions.
|
||||||
timeout: 300
|
timeout: 300
|
||||||
state_updates:
|
state_updates:
|
||||||
report: "{{output}}"
|
report: '{{output}}'
|
||||||
next: verify_sources
|
next: verify_sources
|
||||||
|
|
||||||
verify_sources:
|
verify_sources:
|
||||||
@@ -269,14 +267,14 @@ nodes:
|
|||||||
Accept this report? Pick "accept" or "reject", or type specific
|
Accept this report? Pick "accept" or "reject", or type specific
|
||||||
feedback to send the research back for another pass.
|
feedback to send the research back for another pass.
|
||||||
options:
|
options:
|
||||||
- "accept"
|
- 'accept'
|
||||||
- "reject"
|
- 'reject'
|
||||||
routes:
|
routes:
|
||||||
"accept": end_accepted
|
'accept': end_accepted
|
||||||
"reject": end_rejected
|
'reject': end_rejected
|
||||||
on_other: incorporate_feedback
|
on_other: incorporate_feedback
|
||||||
state_updates:
|
state_updates:
|
||||||
decision: "{{choice}}"
|
decision: '{{choice}}'
|
||||||
|
|
||||||
incorporate_feedback:
|
incorporate_feedback:
|
||||||
id: incorporate_feedback
|
id: incorporate_feedback
|
||||||
@@ -286,7 +284,7 @@ nodes:
|
|||||||
end_accepted:
|
end_accepted:
|
||||||
id: end_accepted
|
id: end_accepted
|
||||||
type: end
|
type: end
|
||||||
output: "{{report}}"
|
output: '{{report}}'
|
||||||
|
|
||||||
end_rejected:
|
end_rejected:
|
||||||
id: end_rejected
|
id: end_rejected
|
||||||
|
|||||||
@@ -147,9 +147,8 @@ nodes:
|
|||||||
- fs_grep
|
- fs_grep
|
||||||
max_iterations: 8
|
max_iterations: 8
|
||||||
max_attempts: 2
|
max_attempts: 2
|
||||||
temperature: 0.1
|
|
||||||
state_updates:
|
state_updates:
|
||||||
verdict: "{{output}}"
|
verdict: '{{output}}'
|
||||||
|
|
||||||
done:
|
done:
|
||||||
id: done
|
id: done
|
||||||
|
|||||||
Reference in new issue
Block a user