SpringAI
2 items
Series Posts
Project Kotlin for Java Survivors: Life After Semicolons
Part 15: "The Assistant" — Spring AI 2.0, Qdrant and RAG
The prototype invented a return policy, and Kabir builds the service that can't. We build product-ai-service on Spring AI 2.0: a Kafka consumer that keeps a Qdrant index in step with the catalog, filtered semantic search, answers grounded in store policies, a tool for live prices, and a local model through Ollama, with the traps we hit on the way.
Project Kotlin for Java Survivors: Life After Semicolons
Part 16: "The Second Opinion" — LangChain4j, Side by Side
The architecture review board asks what happens if Spring AI is the wrong bet, and Kabir answers with a second adapter. We implement the same ports with LangChain4j behind a profile, rebuild its index by replaying Kafka, run one test suite against both libraries, look at where Kotlin meets two Java APIs, and compare the libraries honestly. Then we wrap up the series.