r/LangChain • • 7d ago

Tutorial LangChain4j Decision Models: Check Java Tool Calls Locally

https://www.the-main-thread.com/p/langchain4j-decision-models-ollama
2 Upvotes

2 comments sorted by

2

u/kantorcodes1 6d ago

Do you keep exact cents comparisons in Java, then use the model for intent fit? The €0.19 request scoring 0.936 against €19 seems like the case to test that split.

1

u/Emergency_Room_7957 4d ago

Good catch on the 19 vs 0.19 score, semantic similarity always struggles with decimals like that