"LLMTool" (Resource Object Type)
"LLMTool" (Resource Object Type)
Details
- LLMTool resources contain templated LLMTool objects that can be accessed with LLMResourceTool.
Properties
- There are standard ResourceObject properties common to all resource types. Additionally, each resource type defines additional special properties.
- Special properties for LLMTool resources include:
-
"ToolLocation" storage location of tool template "SampleChat" sample of a chat notebook featuring the tool - The "ToolLocation" property can be a CloudObject, LocalObject, File or URL.
- Commonly used standard ResourceObject properties for LLMTool resources include:
-
"DefinitionNotebook" notebook defining the prompt and resource "ExampleNotebook" notebook showing programmatic use
Using an LLMTool Resource
- The tool is accessed with LLMResourceTool.
- LLMResourceTool["name"] provides a TemplateObject and can be applied to values to generate an LLMTool.
- Properties can be accessed using ResourceObject[…]["prop"].
Creating an LLMTool Resource
- To create an LLM tool resource with complete metadata, use the definition notebook available with CreateNotebook["LLMToolResource"].
- Using the definition notebook, the resource can also be stored locally, deployed to the cloud or submitted for publication in the Wolfram LLM Tool Repository.
Publishing in the LLM Tool Repository
- LLM tool resources can be published in the Wolfram LLM Tool Repository.
- Submission to the LLM tool repository requires a PublisherID.
- Publication requires approval from a review team and typically involves modifications.
Examples
open all close allBasic Examples (1)
Retrieve an LLMTool resource from the public repository:
The resource has type "LLMTool":
Apply the template to create an LLMTool: