Create flowcharts to control LLMs
Project description
🧩💡 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.
🎮 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
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file promptflow-gui-0.1.4.tar.gz
.
File metadata
- Download URL: promptflow-gui-0.1.4.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10ccaa02dd35e04dfca71e2d3b8fd417c45c7ca0d1f96ba3a4a29a74538c1b12 |
|
MD5 | d4b2c4293030357d6d2f2dc9fa7d8ff8 |
|
BLAKE2b-256 | 62113d90ce838270bfaf9971bdcd310242a4fd2edb3da93c8062e4c07eebfbbd |
File details
Details for the file promptflow_gui-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: promptflow_gui-0.1.4-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb71000d5fb751a95c13557df514b73c378306c37f875cf2ba6f81b746fddfe4 |
|
MD5 | f7eb9b499e7a5676217fdd24026cfdb1 |
|
BLAKE2b-256 | a1f1129a0f9efbeae3d4471cc7603a669cbfbf084f8afa64caa719a04e4be6d7 |