Jump to content
Kev

PromptFlow – Low-Code GUI Tool to Chain LLM Prompts with Flowcharts

Recommended Posts

Logo_full_1.png

 

PromptFlow is a tool that allows you to create executable flowcharts that link LLMs (Large Language Models), Prompts, Python functions, and conditional logic together. With PromptFlow, you can create complex workflows in a visual way, without having to write too much code or deal with complicated logic.

 

heroscreenshot.png

 

How it works

PromptFlow is based on a visual flowchart editor that allows you to create nodes and connections between them. Each node can be a Prompt, a Python function, or an LLM. Connections between nodes represent conditional logic, and allow you to specify the flow of your program.

 

When you run your flowchart, PromptFlow will execute each node in the order specified by the connections, passing data between nodes as needed. If a node returns a value, that value will be passed to the next node in the flow.

 

Initial Setup

Install the required dependencies. Python 3.8+ is required to run PromptFlow.

python -m pip install -r requirements.txt

 

Launching

Promptflow can be run with Python from the commandline:

python run.py

 

If you're having trouble ensure your PYTHONPATH is set correctly:

export PYTHONPATH=$PYTHONPATH:.

 

Documentation

Official docs website:

promptflow.org

 

Building from source

To build the sphinx documentation, run:

cd docs

make html

 

Then open docs/build/html/index.html in your browser.

 

Contributing

If you are interested in contributing to PromptFlow, you can do so through building a node.

If you find any bugs, do not hesitate to create an issue or open a PR or let us know in Discord.

 

Download: promptflow-main.zip

 

or

 

git clone https://github.com/InsuranceToolkits/promptflow.git

 

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...