OLLMchat.Tool
Description:
Tool interface and parameter system namespace.
The OLLMchat.Tool namespace provides the abstract base for function-calling tools, parameter type definitions, and function schema
generation. Tools use a special parameter description syntax with @type, @property, and @param directives to define their function
signatures.
Content:
Interfaces:
- WrapInterface - Interface for tools
that can be wrapped by other tools.
Classes:
- BaseTool - Abstract base class for
tools that can be used with Ollama function calling.
- Function - Concrete class representing a
function within a Tool.
- Param - Abstract base class for parameter
definitions.
- ParamArray - Represents an array parameter
with items definition.
- ParamObject - Represents an object parameter
with nested properties.
- ParamParser - Parser for tool definition text
containing descriptions and annotations.
- ParamSimple - Represents a simple parameter
type (string, integer, boolean).
- RequestBase - Abstract base class
for tool request execution.