Skip to content

A client-side workflow engine/executor for AI applications.

Notifications You must be signed in to change notification settings

LeslieLeung/hotline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hotline

A client-side workflow engine/executor for AI applications.

Demo

Define a workflow(like GitHub Actions)

workflows:
  - name: translate
    id: translate
    inputs:
      - name: text
        required: true
    steps:
      # Define a step that uses the `dify_workflow` action
      - name: translation
        id: translation
        uses: dify_workflow
        with:
          host: https://dify.ai
          api_key: app-ATotallyFakeApiKey
          # The input section defined in Dify workflow
          inputs:
            - name: text
              value: ${{ inputs.text }}
      # Define a step that prints the result
      - name: print
        uses: print
        with:
          # Reference the result from the previous step
          message: ${{ steps.translation.outputs.text }}

Execute the workflow

hotline exec translate -f translate.yaml --text="Good morning, how can I help you?"

Installation

brew

brew tap leslieleung/homebrew-tap
brew install leslieleung/tap/hotline

Binary

Download the binaries from the releases.

About

A client-side workflow engine/executor for AI applications.

Topics

Resources

Stars

Watchers

Forks

Languages