LLMToolResponse
This functionality requires LLM access »
represents a response to an LLM tool request.
Details
- LLMToolResponse is typically used to represent the answer to an LLM request for information or an external computation.
- Properties of an LLMToolResponse can be accessed with LLMToolResponse[…][prop].
- The following properties are supported:
-
"Request" request as an LLMToolRequest "Tool" tool as an LLMTool "InterpretedParameterValues" interpreted parameter values "Output" tool output "ResponseString" response string - LLMToolResponse objects can be generated with GenerateLLMToolResponse.
Examples
Basic Examples (2)
Generate an LLMToolResponse from a tool providing a related request:
Call an LLM with access to a tool and return the responses to its tool requests:
Wolfram Research (2023), LLMToolResponse, Wolfram Language function, https://reference.wolfram.com/language/ref/LLMToolResponse.html.
Text
Wolfram Research (2023), LLMToolResponse, Wolfram Language function, https://reference.wolfram.com/language/ref/LLMToolResponse.html.
CMS
Wolfram Language. 2023. "LLMToolResponse." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LLMToolResponse.html.
APA
Wolfram Language. (2023). LLMToolResponse. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LLMToolResponse.html