promptflow-gui


Namepromptflow-gui JSON
Version 0.1.4 PyPI version JSON
download
home_page
SummaryCreate flowcharts to control LLMs
upload_time2023-05-16 17:28:43
maintainer
docs_urlNone
author
requires_python>=3.10
licenseMIT License Copyright (c) 2023 Insurance Toolkits, LLC Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords prompt llm flowchart flow chart promptflow
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
<p align="center">
  <img src="promptflow/res/Logo_full_1.png" alt="PromptFlow logo"/>
</p>

---

# 🧩💡 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.

<p align="center">
  <img src="screenshots/readme/heroscreenshot.png" alt="PromptFlow screenshot"/>
</p>

#### 🎮 Join the conversation on our [Discord Server](https://discord.gg/5MmV3FNCtN)

## 🔗 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](https://www.promptflow.org/en/latest/).

## 🛠️ Initial Setup 

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

```bash
python -m pip install -r requirements.txt
```

Encountered a hiccup? Try this instead:

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

## 🚀 Launching

Fire up PromptFlow with Python from the command line:

```bash
python run.py 
```

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

```bash
export PYTHONPATH=$PYTHONPATH:.
```

## 📚 Documentation

[![Documentation Status](https://readthedocs.org/projects/promptflow/badge/?version=latest)](https://www.promptflow.org/en/latest/?badge=latest)

Check out our official docs:

#### 🌐 [promptflow.org](https://www.promptflow.org/en/latest/)

### 🏗️ Building from source

To compile the Sphinx documentation, execute:

```bash
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](https://www.promptflow.org/en/latest/development.html#starting-point-adding-a-node).

Stumbled upon a bug? Don't hesitate to create an issue, open a PR, or let us know on [Discord](https://discord.gg/5MmV3FNCtN).

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "promptflow-gui",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "prompt,llm,flowchart,flow,chart,promptflow",
    "author": "",
    "author_email": "Sawyer McLane <sawyer@fextoolkit.com>",
    "download_url": "https://files.pythonhosted.org/packages/62/11/3d90ce838270bfaf9971bdcd310242a4fd2edb3da93c8062e4c07eebfbbd/promptflow-gui-0.1.4.tar.gz",
    "platform": null,
    "description": "\r\n<p align=\"center\">\r\n  <img src=\"promptflow/res/Logo_full_1.png\" alt=\"PromptFlow logo\"/>\r\n</p>\r\n\r\n---\r\n\r\n# \ud83e\udde9\ud83d\udca1 PromptFlow\r\n\r\nWant 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.\r\n\r\n<p align=\"center\">\r\n  <img src=\"screenshots/readme/heroscreenshot.png\" alt=\"PromptFlow screenshot\"/>\r\n</p>\r\n\r\n#### \ud83c\udfae Join the conversation on our [Discord Server](https://discord.gg/5MmV3FNCtN)\r\n\r\n## \ud83d\udd17 How it works\r\n\r\nThe 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.\r\n\r\nWhen 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](https://www.promptflow.org/en/latest/).\r\n\r\n## \ud83d\udee0\ufe0f Initial Setup \r\n\r\nKickstart your PromptFlow journey by installing the required dependencies. Python 3.8+ is required to run PromptFlow.\r\n\r\n```bash\r\npython -m pip install -r requirements.txt\r\n```\r\n\r\nEncountered a hiccup? Try this instead:\r\n\r\n```bash\r\npython -m pip install -r requirements-no-nvidia.txt\r\n```\r\n\r\n## \ud83d\ude80 Launching\r\n\r\nFire up PromptFlow with Python from the command line:\r\n\r\n```bash\r\npython run.py \r\n```\r\n\r\nIf you're hitting a roadblock, ensure your `PYTHONPATH` is set correctly:\r\n\r\n```bash\r\nexport PYTHONPATH=$PYTHONPATH:.\r\n```\r\n\r\n## \ud83d\udcda Documentation\r\n\r\n[![Documentation Status](https://readthedocs.org/projects/promptflow/badge/?version=latest)](https://www.promptflow.org/en/latest/?badge=latest)\r\n\r\nCheck out our official docs:\r\n\r\n#### \ud83c\udf10 [promptflow.org](https://www.promptflow.org/en/latest/)\r\n\r\n### \ud83c\udfd7\ufe0f Building from source\r\n\r\nTo compile the Sphinx documentation, execute:\r\n\r\n```bash\r\ncd docs\r\nmake html\r\n```\r\n\r\nThen, navigate to `docs/build/html/index.html` in your browser.\r\n\r\n## \ud83e\udd1d Contributing\r\n\r\nWant to contribute to PromptFlow? Get started by [building a node](https://www.promptflow.org/en/latest/development.html#starting-point-adding-a-node).\r\n\r\nStumbled upon a bug? Don't hesitate to create an issue, open a PR, or let us know on [Discord](https://discord.gg/5MmV3FNCtN).\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 Insurance Toolkits, LLC  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Create flowcharts to control LLMs",
    "version": "0.1.4",
    "project_urls": {
        "Documentation": "https://www.promptflow.org/en/latest/"
    },
    "split_keywords": [
        "prompt",
        "llm",
        "flowchart",
        "flow",
        "chart",
        "promptflow"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a1f1129a0f9efbeae3d4471cc7603a669cbfbf084f8afa64caa719a04e4be6d7",
                "md5": "f7eb9b499e7a5676217fdd24026cfdb1",
                "sha256": "cb71000d5fb751a95c13557df514b73c378306c37f875cf2ba6f81b746fddfe4"
            },
            "downloads": -1,
            "filename": "promptflow_gui-0.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f7eb9b499e7a5676217fdd24026cfdb1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 5670,
            "upload_time": "2023-05-16T17:28:41",
            "upload_time_iso_8601": "2023-05-16T17:28:41.070685Z",
            "url": "https://files.pythonhosted.org/packages/a1/f1/129a0f9efbeae3d4471cc7603a669cbfbf084f8afa64caa719a04e4be6d7/promptflow_gui-0.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "62113d90ce838270bfaf9971bdcd310242a4fd2edb3da93c8062e4c07eebfbbd",
                "md5": "d4b2c4293030357d6d2f2dc9fa7d8ff8",
                "sha256": "10ccaa02dd35e04dfca71e2d3b8fd417c45c7ca0d1f96ba3a4a29a74538c1b12"
            },
            "downloads": -1,
            "filename": "promptflow-gui-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "d4b2c4293030357d6d2f2dc9fa7d8ff8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 1143554,
            "upload_time": "2023-05-16T17:28:43",
            "upload_time_iso_8601": "2023-05-16T17:28:43.566802Z",
            "url": "https://files.pythonhosted.org/packages/62/11/3d90ce838270bfaf9971bdcd310242a4fd2edb3da93c8062e4c07eebfbbd/promptflow-gui-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-16 17:28:43",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "promptflow-gui"
}
        
Elapsed time: 0.06541s