LLMToolRequest

LLMToolRequest[]

represents a tool request made by an LLM.

LLMToolRequest["tool",{"name1""val1","name2""val2",}]

represents a request to "tool" with the specified parameter values.

LLMToolRequest["tool",params,str]

annotates a request with the request string.

Details

Examples

Basic Examples  (2)

Create a representation of a tool request:

Generate the tool response:

Call an LLM with access to a tool and return the requests it made:

Wolfram Research (2023), LLMToolRequest, Wolfram Language function, https://reference.wolfram.com/language/ref/LLMToolRequest.html.

Text

Wolfram Research (2023), LLMToolRequest, Wolfram Language function, https://reference.wolfram.com/language/ref/LLMToolRequest.html.

CMS

Wolfram Language. 2023. "LLMToolRequest." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LLMToolRequest.html.

APA

Wolfram Language. (2023). LLMToolRequest. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LLMToolRequest.html

BibTeX

@misc{reference.wolfram_2024_llmtoolrequest, author="Wolfram Research", title="{LLMToolRequest}", year="2023", howpublished="\url{https://reference.wolfram.com/language/ref/LLMToolRequest.html}", note=[Accessed: 27-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_llmtoolrequest, organization={Wolfram Research}, title={LLMToolRequest}, year={2023}, url={https://reference.wolfram.com/language/ref/LLMToolRequest.html}, note=[Accessed: 27-April-2024 ]}