RCRAG Converter

Automated API Markdown parsing for SAP ERP intelligence

Automated API Markdown parsing for SAP ERP intelligence converts each Markdown file attached to a record into searchable passages, so the assistant answers from the file rather than from fields someone typed.

How does automated API Markdown parsing feed SAP ERP intelligence?

Automated API Markdown parsing for SAP ERP intelligence converts each attached Markdown file into passages when the file is saved, so the assistant can cite the file instead of guessing from record fields.

Where the Markdown file sits in SAP

SAP keeps the file on the business object through Generic Object Services or ArchiveLink, beside the order, invoice, or vendor. The typed fields on that record are already searchable. The Markdown file is not, until automated API Markdown parsing copies its words into passages keyed to the same record. ERP intelligence that only reads the fields is intelligence about what a person typed, not about what the file says.

What a Markdown file actually yields

A .md or .markdown file states its own structure: a heading starts with a hash. The parser keeps those headings instead of flattening the file into one essay, which is what a plain-text read used to do. A handbook with forty sections stays a handbook, so a later chunk can still sit under the heading a person would search for.

The API call that feeds SAP

An integration flow or an attachment event can POST those bytes when the document is linked. The response is JSONL, one passage per line, with the record id in metadata for the retrieval store beside SAP. Asking a model to reread the Markdown file inside chat for every question never builds that index. Automated API Markdown parsing runs when the file is saved, once, and later questions retrieve.

What the answer is allowed to cite

After a clean parse, an answer should cite the passage and the Markdown file it came from. A file that yields no text is a skip, named as a skip, not a blank passage that crowds real hits. The parsers are Remade with Rust crates, and RAG Converter is part of MATA. The longer note on this format is RAG for Markdown.

More on converting for RAG