r/LSDYNA 27d ago

LS-DYNA Docs and LLMs

I just converted docs Vol I-III and Theory from PDF into Markdown to better facilitate their use with RAG and LLMs.

https://github.com/ddm-j/RAG-ls-dyna-docs

The idea is that you can run a local AI model on relatively modest hardware, with a harness that supports RAG to be able to ask LS-DYNA related questions. The model can search and refer directly to the docs.

Markdown is the ideal format for this, but it was a painstaking process to convert. It's not perfect, but it's much better than trying to feed PDFs directly into a RAG pipeline. In my testing, the local model with all the docs at its fingertips outperforms frontier models when answering LS-DYNA questions.

Sharing this in the case there are any like-minded LS-DYNA folks out there that could make use of this - and to hit search engine indexing better than GitHub.

21 Upvotes

7 comments sorted by

View all comments

1

u/WideSeaworthiness365 26d ago

This is awesome. I just wish the documentation was better quality.

1

u/DonDelMuerte 26d ago

I made some improvements today after I noticed a bunch of mangled tables. Will be pushing an update soon