Add ai-services and spring-boot-ai-service modules: prompt templates, per-id chat memory, tools, RAG, the @MemoryId trap, the message-window probe, and @AiService on Spring Boot 4.1.1, each with a captured transcript
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01G8ikz8xdWuTP5yun8DZ1hk
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
Tool specification sent with the first request: [orderStatus - Looks up the shipping status of an order by its id]
|
||||
|
||||
Second request (after the tool ran):
|
||||
USER: Where is order A-1001?
|
||||
AI: tool calls [orderStatus{"orderId":"A-1001"}]
|
||||
TOOL_EXECUTION_RESULT: Order A-1001 shipped on 2026-10-08, arriving 2026-10-13
|
||||
|
||||
Java methods actually executed: [orderStatus(A-1001)]
|
||||
Model round trips: 2
|
||||
Final reply: Your order is on its way and arrives on 2026-10-13.
|
||||
Reference in New Issue
Block a user