![]() |
Ollama4j
A Java library (wrapper/binding) for Ollama server.
|
Public Member Functions | |
ToolFunction | getToolFunction (String name) throws ToolNotFoundException |
void | addTool (Tools.Tool tool) |
void | addTools (List< Tools.Tool > tools) |
List< Tools.Tool > | getRegisteredTools () |
void | clear () |
Definition at line 14 of file ToolRegistry.java.
void io.github.ollama4j.tools.ToolRegistry.addTool | ( | Tools.Tool | tool | ) |
Definition at line 26 of file ToolRegistry.java.
void io.github.ollama4j.tools.ToolRegistry.addTools | ( | List< Tools.Tool > | tools | ) |
Definition at line 34 of file ToolRegistry.java.
void io.github.ollama4j.tools.ToolRegistry.clear | ( | ) |
Removes all registered tools from the registry.
Definition at line 45 of file ToolRegistry.java.
List< Tools.Tool > io.github.ollama4j.tools.ToolRegistry.getRegisteredTools | ( | ) |
Definition at line 40 of file ToolRegistry.java.
ToolFunction io.github.ollama4j.tools.ToolRegistry.getToolFunction | ( | String | name | ) | throws ToolNotFoundException |
Definition at line 17 of file ToolRegistry.java.