Giter Club home page Giter Club logo

promptflow's Introduction

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

You can install PromptFlow via pip with

pip install promptflow-gui

If you want to install PromptFlow from source, clone this repository and install the dependencies with

python -m pip install -r requirements.txt

Encountered a hiccup? Try this instead:

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

๐Ÿš€ Launching

If you installed from pip, you can launch PromptFlow with

promptflow

Otherwise, run 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.

promptflow's People

Contributors

samclane avatar f-prime avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.