Skip to content

Commit

Permalink
add react agents
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarrata committed Nov 27, 2024
1 parent 74eba35 commit 58cd95b
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -707,9 +707,7 @@
" - Using DuckDuckGo, the agent finds that Kathmandu, Nepal, is the closest city to Mount Everest.\n",
"\n",
"4. **The agent calculates the distance from Kathmandu to Mount Everest** \n",
" - By applying the Haversine formula, the agent determines the distance to be approximately **120 kilometers**.\n",
"\n",
">NOTE: this numbers are approximated"
" - By applying the Haversine formula, the agent determines the distance."
]
},
{
Expand Down Expand Up @@ -797,7 +795,7 @@
"source": [
"Chaining multiple complex questions in a single prompt allows the ReAct Agent to provide a concise, accurate summary without detailing much each step of the process. \n",
"\n",
"The agent combines its reasoning to directly address the queries, identifying Mount Everest as the biggest mountain, calculating its area as approximately 1.08 million square kilometers, and determining that the closest city, Kathmandu, is about 120 kilometers away. \n",
"The agent combines its reasoning to directly address the queries, identifying Mount Everest as the biggest mountain, calculating its area as approximately 1.08 million square kilometers, and determining that the closest city, Kathmandu, is about 120 kilometers away (approx). \n",
"And obviously thinks that we **should NOT** climb the Everest with Flip Flops, giving us some tips.\n",
"\n",
"This approach provides a **streamlined response, focusing on the final answers rather than the intermediate steps**."
Expand Down

0 comments on commit 58cd95b

Please sign in to comment.