Skip to content

Commit

Permalink
Merge pull request #268 from ag2ai/blog-fix
Browse files Browse the repository at this point in the history
fix: ReasoningAgent blog links
  • Loading branch information
Hk669 authored Dec 22, 2024
2 parents 17ab5d6 + c508813 commit 9f45fd3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion website/blog/2024-12-02-ReasoningAgent2/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,15 @@ tags: [LLM, GPT, research]
</CardGroup>
</div>

![Tree of Thoughts](img/reasoningagent_1.png)
<iframe width="560" height="315" src="https://www.youtube.com/embed/sS8Q5yMuEhs?si=MfWmzflK94S94FEx" title="ReasoningAgent" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

**TL;DR:**
* We introduce **ReasoningAgent**, an AG2 agent that implements tree-of-thought reasoning with beam search to solve complex problems.
* ReasoningAgent explores multiple reasoning paths in parallel and uses a grader agent to evaluate and select the most promising paths.
* The exploration trajectory and thought tree can be saved locally for further analysis. These logs can even be saved as SFT dataset and preference dataset for DPO and PPO training.

![Tree of Thoughts](img/reasoningagent_1.png)

## Introduction

Large language models (LLMs) have shown impressive capabilities in various tasks, but they can still struggle with complex reasoning problems that require exploring multiple solution paths. To address this limitation, we introduce ReasoningAgent, an AG2 agent that implements tree-of-thought reasoning with beam search.
Expand Down
4 changes: 3 additions & 1 deletion website/blog/2024-12-20-Reasoning-Update/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ tags: [LLM, GPT, research, tutorial]
</CardGroup>
</div>

![Tree of Thoughts](img/mcts_example.png)
<iframe width="560" height="315" src="https://www.youtube.com/embed/W7hfRA7XXjI?si=ImwXfHIYGosmaRFi" title="Reasoning Agent with MCTS" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

**Key Updates in this Release:**

Expand All @@ -74,6 +74,8 @@ tags: [LLM, GPT, research, tutorial]
* New `forest_size` parameter enables maintaining multiple independent reasoning trees
* Support for ground truth answers in prompts to generate training data for LLM fine-tuning

![Tree of Thoughts](img/mcts_example.png)

## Introduction

In our [previous post](https://docs.ag2.ai/blog/2024-12-02-ReasoningAgent2/), we introduced the ReasoningAgent, which utilized Beam Search for systematic reasoning. Today, we include MCTS (Monte Carlo Tree Search) and Language Agent Tree Search (LATS) as alternative search strategies, which present advantages in different scenarios.
Expand Down

0 comments on commit 9f45fd3

Please sign in to comment.