mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-10-25 22:59:29 +02:00
Clarify Tool Functions section in agent documentation by removing redundant text in YAML registration instructions for Java classes.
This commit is contained in:
parent
2e245a0e16
commit
ad03c784e5
@ -49,7 +49,7 @@ YAML makes it effortless to configure and tweak your agent’s powers and behavi
|
||||
|
||||
## Implement Tool Functions
|
||||
|
||||
Your agent calls out to Java classes (Tool Functions). Put these implementations on your classpath, register them in YAML, and your agent.
|
||||
Your agent calls out to Java classes (Tool Functions). Put these implementations on your classpath, register them in YAML.
|
||||
|
||||
<CodeEmbed src="https://raw.githubusercontent.com/ollama4j/ollama4j-examples/refs/heads/main/src/main/java/io/github/ollama4j/examples/tools/toolfunctions/CalculatorToolFunction.java"/>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user