ONNX Runtime RAG inference fails due to malformed prompt templates
Problem – RAG inference fails because the prompt template is malformed In a distributed micro‑services deployment the Retrieval‑Augmented Generation (RAG) service invokes an ONNX Runtime sidecar via gRPC. The sidecar builds a prompt by substituting variables (e.g., {{question}}, {{context}}) into a JSON‑encoded template before feeding the concatenated string to a transformer model. Symptoms observed in … Read more