Files
spring-ai/langchain4j-interop/src/broken/OldDocumentGetContent.java
T
Claude d3fec185aa Add langchain4j-interop: Spring AI 2.0 and LangChain4j 1.22 side by side
Same order assistant in both frameworks against a local fake OpenAI
server: starter bean collision, wire differences, tool failure and loop
bounds, observability meters, MCP-first tools, and a compile check of
the 2025 article's snippets and Maven coordinates.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01G8ikz8xdWuTP5yun8DZ1hk
2026-10-11 10:05:09 +00:00

9 lines
203 B
Java

import org.springframework.ai.document.Document;
// From the original RAGService: Document::getContent
class OldDocumentGetContent {
String text(Document d) {
return d.getContent();
}
}