Chatbot LM Internals
Start a new conversation
▶ Tool calling
Tool definitions (JSON array):
Load weather example
Load database example
Conversation JSON
User
Function name:
Arguments (JSON object):
End Turn
Generate Response (up to 100 tokens)
Add Tool Call
Conversation as
tokens
Click a token to see what the model expected next; drag to select a range.
compact
Next-token distribution after
:
Sample