Update of “Fun project of the week, Mermaid flowcharts generator!” — V2 and more…
dev.to·12h·
Discuss: DEV
🦋Format Metamorphosis
Preview
Report Post

Using LLMs to generate Mermaid flowcharts and don’t pay fees to sites!

Introduction

Following a previous post on how to generate Mermaid charts using Ollama and local LLMs (because I get really bored with sites which ask me to subscribe and pay a fee), I decided to enhance and update my application. There are two essential reasons for that;

  • My first app was containing hard-coded information regarding the LLM I want to use.
  • The application was not iterative.

🛠️ Essential Enhancements

The core of your enhancement should involve abstracting the LLM choice and creating a clean, repeatable workflow.

Dynamic LLM Selection (Addressing Hardcoded Info)

Instead of having a single hardcoded model, your application should dynamically discover and utilize any model availabl…

Similar Posts

Loading similar posts...