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
9 lines
251 B
Java
9 lines
251 B
Java
import org.springframework.ai.reader.pdf.config.PdfDocumentReaderConfig;
|
|
|
|
// From the original DocumentIngestionService.
|
|
class OldPdfConfig {
|
|
Object config() {
|
|
return PdfDocumentReaderConfig.builder().withPageTopMargin(0).build();
|
|
}
|
|
}
|