Markdown: An effective tool for LLM interaction
relston.github.io
relston.github.io
echo "Please explain this code: $(cat some_class.py)" | mark
needs a dash at the end to work correctly. Also, it doesn't output pandoc-flavored markdown (blank lines before headings and code chunks) unless I specifically ask it to, as in:
echo "Please explain this code, using pandoc-flavored markdown, leaving a blank line before headings and code chunks: $(cat some_class.py)" | mark -
I mostly use local models. I might modify 'mark' myself, or wait a while and see if anyone does a pull request.
A little off topic, but I run ollama at the command line using:
echo "what is 1 + 3?" | ollama run llama3:latest
danielmiessler.com/p/fabric-origin-story
together with obsidian is my setup I am trying to build now. I'm using obsidian to plan the vector and meta data to pull and reference with the assistants and building function tools to query.
I think Ryan Elston's blog post is more effective in explaining the advantages of markdown for LLM interaction.