Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

RelevanceAI/flowchartgpt

Repository files navigation

FlowchartGPT

Turn descriptions into flowcharts in seconds.

🔗 Powered by Relevance Chains

⚡️ LangChain, but easier. 🧱 Use our drag-and-drop UI to create LLM-powered chains in minutes. 🚀 Deploy them immediately as an app or API to use in your product. Try today at relevanceai.com.

Built with

Getting started

Clone this repository, then:

pnpm install
pnpm run dev # Access dev server at http://localhost:3000

How does this work?

FlowchartGPT utilises a chain to generate the nodes and edges required to render a flowchart for the given prompt. More specifically, it chains several calls to gpt-3.5-turbo together. Using a chain helps GPT-3.5 understand the requirements for generating the flowchart and ensures the validity of the output. This achieves consistent and high-quality results in comparison with compressing instructions into a single prompt, which yielded inconsistent or poor results in testing.

The steps in the chain are illustrated below.

What prompts do you use?

Great question! You can find the prompts here.

License

Licensed under the MIT license.