Introduction to Tools Provider
Writing tools providers for LM Studio plugins using TypeScript
Tools provider is a function that returns an array of tools that the model can use during generation.
Examples
The following are some plugins that make use of tools providers:
-
Gives the LLM tools to search and read Wikipedia articles.
-
Gives the LLM tools to run JavaScript/TypeScript code in a sandbox environment using deno.
-
Allows the LLM to generate random numbers using "dice".