prebuilt.scientific_paper_agent.nodes¶
Attributes¶
Functions¶
|
Agent call node that uses the LLM with tools to answer the user query. |
|
Entry point of the workflow. Based on the user query, the model can either respond directly or perform a full research, routing the workflow to the planning node. |
|
Router to end the workflow or improve the answer. |
|
Node to let the LLM judge the quality of its own final answer. |
|
Planning node that creates a step by step plan to answer the user query. |
|
Router directing the user query to the appropriate branch of the workflow. |
|
Check if the agent should continue or end. |
|
Tool call node that executes the tools based on the plan. |
Module Contents¶
- prebuilt.scientific_paper_agent.nodes.agent_node(state: haive.prebuilt.scientific_paper_agent.state.AgentState)¶
Agent call node that uses the LLM with tools to answer the user query.
- prebuilt.scientific_paper_agent.nodes.decision_making_node(state: haive.prebuilt.scientific_paper_agent.state.AgentState)¶
Entry point of the workflow. Based on the user query, the model can either respond directly or perform a full research, routing the workflow to the planning node.
- prebuilt.scientific_paper_agent.nodes.final_answer_router(state: haive.prebuilt.scientific_paper_agent.state.AgentState)¶
Router to end the workflow or improve the answer.
- prebuilt.scientific_paper_agent.nodes.judge_node(state: haive.prebuilt.scientific_paper_agent.state.AgentState)¶
Node to let the LLM judge the quality of its own final answer.
- prebuilt.scientific_paper_agent.nodes.planning_node(state: haive.prebuilt.scientific_paper_agent.state.AgentState)¶
Planning node that creates a step by step plan to answer the user query.
- prebuilt.scientific_paper_agent.nodes.router(state: haive.prebuilt.scientific_paper_agent.state.AgentState)¶
Router directing the user query to the appropriate branch of the workflow.
- prebuilt.scientific_paper_agent.nodes.should_continue(state: haive.prebuilt.scientific_paper_agent.state.AgentState)¶
Check if the agent should continue or end.
- prebuilt.scientific_paper_agent.nodes.tools_node(state: haive.prebuilt.scientific_paper_agent.state.AgentState)¶
Tool call node that executes the tools based on the plan.
- prebuilt.scientific_paper_agent.nodes.agent_llm¶
- prebuilt.scientific_paper_agent.nodes.base_llm¶
- prebuilt.scientific_paper_agent.nodes.decision_making_llm¶
- prebuilt.scientific_paper_agent.nodes.judge_llm¶