docs[patch]: Simplify tool calling guide, improve tool calling conceptual guide (#24637)

Lots of duplicated content from concepts, missing pointers to the second
half of the tool calling loop

Simpler + more focused + a more prominent link to the second half of the
loop was what I was aiming for, but down to be more conservative and
just more prominently link the "passing tools back to the model" guide.

I have also moved the tool calling conceptual guide out from under
`Structured Output` (while leaving a small section for structured
output-specific information) and added more content. The existing
`#functiontool-calling` link will go to this new section.
This commit is contained in:
Jacob Lee
2024-07-25 14:39:14 -07:00
committed by GitHub
parent 4840db6892
commit ce067c19e9
7 changed files with 267 additions and 159 deletions

BIN
docs/static/img/tool_call.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

BIN
docs/static/img/tool_calling_flow.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

BIN
docs/static/img/tool_invocation.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

BIN
docs/static/img/tool_results.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB