Skip to content

Commit

Permalink
[Docs] Dynamically return directly from a tool node (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw committed May 18, 2024
1 parent b04f583 commit 5cd26b2
Show file tree
Hide file tree
Showing 3 changed files with 571 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/docs/how-tos/index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# How-to guides

Welcome to the LangGraphJS How-to Guides! These guides provide practical, step-by-step instructions for accomplishing key tasks in LangGraphJS.
Welcome to the LangGraphJS How-to Guides! These guides provide practical, step-by-step instructions for accomplishing key tasks in LangGraphJS.

## In progress

🚧 This section is currently in progress. More updates to come! 🚧


## Core

The core guides show how to address common needs when building a out AI workflows, with special focus placed on [ReAct](https://arxiv.org/abs/2210.03629)-style agents with [tool calling](https://js.langchain.com/v0.2/docs/how_to/tool_calling/).
Expand All @@ -26,4 +25,5 @@ How to apply common design patterns in your workflows:

The following examples are useful especially if you are used to LangChain's AgentExecutor configurations.

- [Force calling a tool first](force-calling-a-tool-first.ipynb): Define a fixed workflow before ceding control to the ReAct agent
- [Force calling a tool first](force-calling-a-tool-first.ipynb): Define a fixed workflow before ceding control to the ReAct agent
- [Dynamic direct return](dynamically-returning-directly.ipynb): Let the LLM decide whether the graph should finish after a tool is run or whether the LLM should be able to review the output and keep going
1 change: 1 addition & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ nav:
- "how-tos/subgraph.ipynb"
- "how-tos/human-in-the-loop.ipynb"
- "how-tos/force-calling-a-tool-first.ipynb"
- "how-tos/dynamically-returning-directly.ipynb"
- "Conceptual Guides":
- "concepts/index.md"
- "Reference":
Expand Down
Loading

0 comments on commit 5cd26b2

Please sign in to comment.