| hal_response | R Documentation |
An S3 class representing the full response from a single prompt. Returned
internally by HalClient's prompt() method and used by HalChat.
## S3 method for class 'hal_response'
print(x, ...)
x |
A |
... |
Ignored. |
The print() method returns x invisibly. hal_response
objects are created internally by the transport clients.
textCharacter: the full response text.
stop_reasonCharacter: why the model stopped (e.g., "end_turn", "interrupted").
tool_callsList of hal_tool_call objects.
thoughtsCharacter vector of agent thought text.
eventsList of raw session/update events.
hal_turn, hal_tool_call
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.