Add local-tool-calling module: six small Ollama models scored on one MCP-served tool suite
Four tools served over MCP, twelve prompts, LangChain4j 1.24.0 OllamaChatModel, a scorer that validates each call against the tool's own JSON schema, and scripts to run and summarise the benchmark. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b3obqqePfZ9m2Jk5Ub
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
ae8fe985b4
commit
f4f90b3b30
@@ -10,6 +10,7 @@ the same facts, so the build fails when a claim stops being true.
|
||||
| `spring-boot-ai-service` | same post | `@AiService` on Spring Boot 4.1.1 with the 1.22.0-beta32 starter |
|
||||
| `agentic` | Agentic Workflows with LangChain4j: Sequential, Parallel, Loop and Supervisor Agents | the five workflow builders, state passing by key, supervisor JSON, error recovery |
|
||||
| `advanced-rag` | Advanced RAG with LangChain4j: Query Transformation, Routing and Easy RAG | Easy RAG, query compression and expansion, query routing, minScore, content injection, chat-memory cost, `Result.sources()` |
|
||||
| `local-tool-calling` | Tool Calling with Small Local Models: Which Ollama Models Actually Follow Your Schema? | six small Ollama models on the same MCP-served tool suite, scored for valid calls, schema violations, wrong values and spurious calls |
|
||||
|
||||
## Versions (verified on Maven Central, 2026-10-11)
|
||||
|
||||
@@ -21,7 +22,7 @@ the same facts, so the build fails when a claim stops being true.
|
||||
| JDK | 25 LTS | |
|
||||
| JUnit | 6.1.3 | |
|
||||
|
||||
`advanced-rag` is built against LangChain4j **1.23.0** (`langchain4j-easy-rag` and the bundled bge-small embeddings are `1.23.0-beta33`, published to Maven Central on 2026-10-28; neither has a GA release). It overrides the 1.22.0 BOM above for that module only.
|
||||
`local-tool-calling` is built against LangChain4j **1.24.0** (`langchain4j-mcp` is `1.24.0-beta34`, beta only) and needs a local Ollama for its benchmark (its unit tests run offline). `advanced-rag` is built against LangChain4j **1.23.0** (`langchain4j-easy-rag` and the bundled bge-small embeddings are `1.23.0-beta33`, published to Maven Central on 2026-10-28; neither has a GA release). It overrides the 1.22.0 BOM above for that module only.
|
||||
|
||||
## Run
|
||||
|
||||
|
||||
Reference in New Issue
Block a user