Ollama4j
A Java library (wrapper/binding) for Ollama server.
Loading...
Searching...
No Matches
io.github.ollama4j.tools.sampletools.WeatherTool Class Reference

Public Member Functions

 WeatherTool ()
 
String getCurrentWeather (Map< String, Object > arguments)
 
Tools.ToolSpecification getSpecification ()
 

Detailed Description

Definition at line 8 of file WeatherTool.java.

Constructor & Destructor Documentation

◆ WeatherTool()

io.github.ollama4j.tools.sampletools.WeatherTool.WeatherTool ( )

Definition at line 11 of file WeatherTool.java.

Member Function Documentation

◆ getCurrentWeather()

String io.github.ollama4j.tools.sampletools.WeatherTool.getCurrentWeather ( Map< String, Object > arguments)

Definition at line 14 of file WeatherTool.java.

◆ getSpecification()

Tools.ToolSpecification io.github.ollama4j.tools.sampletools.WeatherTool.getSpecification ( )

Definition at line 19 of file WeatherTool.java.


The documentation for this class was generated from the following file: