Skip to content

Commit 89a24e5

Browse files
authored
Stream Responses How-to (#157)
1 parent d5b203d commit 89a24e5

File tree

4 files changed

+562
-1
lines changed

4 files changed

+562
-1
lines changed

docs/_scripts/copy_notebooks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
_MANUAL = {
1313
"how-tos": [
1414
"examples/how-tos/persistence.ipynb",
15+
"examples/how-tos/stream-tokens.ipynb",
1516
],
1617
"tutorials": [
1718
"rag/langgraph_agentic_rag.ipynb",

docs/docs/how-tos/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ Welcome to the LangGraphJS How-to Guides! These guides provide practical, step-b
1111

1212
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/).
1313

14-
- [Persistence](persistence.ipynb): How to give your graph "memory" and resiliance by saving and loading state
14+
- [Persistence](persistence.ipynb): How to give your graph "memory" and resiliance by saving and loading state
15+
- [Stream tokens](stream-tokens.ipynb): How to stream tokens and tool calls from your agent within a graph

docs/mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ nav:
8686
- 'how-tos/index.md'
8787
- Core:
8888
- 'how-tos/persistence.ipynb'
89+
- 'how-tos/stream-tokens.ipynb'
8990
- "Conceptual Guides":
9091
- 'concepts/index.md'
9192
- "Reference":

0 commit comments

Comments
 (0)