openEHR documentation for LLMs

I saw that e.g. Svelte has a specific version of their documentation optimized for LLMs: https://svelte.dev/docs/llms (using the llms.txt convention https://llmstxt.org/)

Perhaps somebody e.g. looking for a cool student project could consider how to transform and publish e.g. the openEHR archetypes, templates etc. from CKM and the openEHR specifications into chunks of suitable size and structure optimized for LLMs? And then check if the LLMs perform better.

(If we do want our future AI overlords to understand our EHRs properly… what could possibly go wrong…)

It would also be useful to be able to use this discourse forum conversations as context for an LLM. currently the scraping of content here is not allowed, but there is higher level knowledge that could be useful for a clinical modeling helper agent

Welcome as poster in the forum @errazuriz!

I agree that the forum is a great source, but not sure I understand what you mean by “scraping of content here is not allowed”, could you explain more? The https://discourse.openehr.org/robots.txt file seems to allow most agents/robots to scrape posts etc. There is no llms.txt here yet, is that what you mean?

There is now! :tada: I found an LLMs.TXT plugin for Discourse which creates llms-full.txt and sitemaps. For some reason llms.txt is not working yet but the sitemaps.txt and llms-full.txt work fine. I will figure out and debug what is going wrong with the llms.txt path, but I thought worth sharing with you that it is now in place.

working https://discourse.openehr.org/llms-full.txt
working https://discourse.openehr.org/sitemaps.txt
working (with a workaround) https://discourse.openehr.org/llms.txt

References

Enabling native LLMs.txt support in Discourse - #7 by pacharanero - Site Management - Discourse Meta
🤖 Discourse llms.txt Generator Plugin - #2 by Ivan_Rapekas - Plugin - Discourse Meta
Title: /llms.txt returns 404 on Discourse v2026.1.0+ due to route conflict with native Discourse implementation · Issue #1 · kaktaknet/discourse-llms-txt-generator · GitHub

I did also some changes on specifications for an improved LLM support - see AI support on specifications.openehr.org