Add quarkus-vs-spring-ai module: the same support assistant (system prompt, tool, RAG) built with Quarkus LangChain4j and Spring AI against a stub OpenAI-compatible server, with wire-format capture, startup/memory benchmarks and a Quarkus native image

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b4XrpfdpsacrvqnrBM
This commit is contained in:
asmhatre
2026-11-27 00:08:03 +05:30
co-authored by Claude Sonnet 5.5
parent f4f90b3b30
commit 5e5326c810
46 changed files with 1395 additions and 0 deletions
@@ -0,0 +1,7 @@
$ curl -s localhost:18080/q/dev-ui/quarkus-langchain4j-core-data.js # while running: mvn quarkus:dev
// Generated by Quarkus during Build
export const systemMessages = ["You are the support assistant of an online electronics shop. Answer in one sentence. Use the order tool for order questions and the supplied policy text for policy questions."];
export const toolProviders = [];
export const aiservices = [{"clazz":"com.ankurm.qvs.SupportAssistant","tools":["com.ankurm.qvs.OrderTools"]}];
export const tools = [{"className":"com.ankurm.qvs.OrderTools","name":"orderStatus","description":"Looks up the delivery status of a customer order by its order number"}];
export const envVarMappings = {"OPENAI_API_KEY":"quarkus.langchain4j.openai.api-key"};