A Matter of Context: XML, RDF and Latent Spaces
Kurt Cagle · Balisage series on markup technologies · 2025
Tired of hallucinations from large language models? A solution may be to give them not just better data or more data, but prompts with better structured data. Reducing hallucination has heretofore been approached by supplying better contextual narratives in prompts. However, recognizing that knowledge is best represented by graphs leads to the suggestion that XML may be a better fit for input to LLMS than either RDF or JSON.