🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

promptflow-gui

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promptflow-gui

Create flowcharts to control LLMs

0.1.4
PyPI
Maintainers
1

PromptFlow logo

🧩💡 PromptFlow

Want to quickly prototype your Large Language Model (LLM) application without a ton of code? Unleash your creativity with PromptFlow, a low-code tool that empowers you to craft executable flowcharts. Seamlessly integrate LLMs, prompts, Python functions, and conditional logic to create intricate workflows. With PromptFlow, you can visualize your ideas and bring them to life, all without getting tangled in code or complex logic.

PromptFlow screenshot

🎮 Join the conversation on our Discord Server

🔗 How it works

The core of PromptFlow is a visual flowchart editor that lets you design nodes and establish Connections between them. Each node can represent a Prompt, a Python function, or an LLM. The connections between nodes embody conditional logic, dictating the flow of your program.

When run your flowchart, PromptFlow executes each node in the sequence defined by the connections, transferring text data between nodes as required. If a node returns a value, that value is forwarded to the next node in the flow as a string. More information on the inner workings of PromptFlow can be found in our documentation.

🛠️ Initial Setup

Kickstart your PromptFlow journey by installing the required dependencies. Python 3.8+ is required to run PromptFlow.

python -m pip install -r requirements.txt

Encountered a hiccup? Try this instead:

python -m pip install -r requirements-no-nvidia.txt

🚀 Launching

Fire up PromptFlow with Python from the command line:

python run.py 

If you're hitting a roadblock, ensure your PYTHONPATH is set correctly:

export PYTHONPATH=$PYTHONPATH:.

📚 Documentation

Documentation Status

Check out our official docs:

🌐 promptflow.org

🏗️ Building from source

To compile the Sphinx documentation, execute:

cd docs
make html

Then, navigate to docs/build/html/index.html in your browser.

🤝 Contributing

Want to contribute to PromptFlow? Get started by building a node.

Stumbled upon a bug? Don't hesitate to create an issue, open a PR, or let us know on Discord.

Keywords

prompt

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts