Skip to content

Commit

Permalink
docs[patch]: Adds tool stream events and error handling guides (#6098)
Browse files Browse the repository at this point in the history
* Adds tool stream events and error handling guides

* Add tool streaming doc
  • Loading branch information
jacoblee93 authored Jul 17, 2024
1 parent 5b67687 commit dbb3b59
Show file tree
Hide file tree
Showing 4 changed files with 1,381 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/core_docs/docs/how_to/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ These are the core building blocks you can use when building applications.
- [How to: get log probabilities](/docs/how_to/logprobs)
- [How to: stream a response back](/docs/how_to/chat_streaming)
- [How to: track token usage](/docs/how_to/chat_token_usage_tracking)
- [How to: stream tool calls](/docs/how_to/tool_streaming)
- [How to: few shot prompt tool behavior](/docs/how_to/tool_calling#few-shotting-with-tools)

### Messages

Expand Down Expand Up @@ -164,7 +166,9 @@ LangChain [Tools](/docs/concepts/#tools) contain a description of the tool (to p
- [How to: pass tool results back to model](/docs/how_to/tool_results_pass_to_model/)
- [How to: add ad-hoc tool calling capability to LLMs and Chat Models](/docs/how_to/tools_prompting)
- [How to: pass run time values to tools](/docs/how_to/tool_runtime)
- [How to: handle errors when calling tools](/docs/how_to/tools_error)
- [How to: access the `RunnableConfig` object within a custom tool](/docs/how_to/tool_configure)
- [How to: stream events from child runs within a custom tool](/docs/how_to/tool_stream_events)
- [How to: return extra artifacts from a custom tool](/docs/how_to/tool_artifacts)

### Agents
Expand Down
Loading

0 comments on commit dbb3b59

Please sign in to comment.