alfredapp / openai-workflow

OpenAI integrations
BSD 3-Clause "New" or "Revised" License
59 stars 27 forks source link

Adding External Trigger to increase reusability #3

Closed uphy closed 6 months ago

uphy commented 6 months ago

Feature details

I want an External Trigger to ask from another workflows.

image

For instance, it makes it easier to ask specific generic questions to ChatGPT from the workflow.

image

Input: Simple keyword input summary

Run Script: Script to construct prompts from clipboard text like the following

echo -n "Please summarize the following text within 100 characters.
---
$(pbpaste)
---"

Call External: Call the ask trigger of ChatGPT workflow

vitorgalvao commented 6 months ago

This will be in the next release. To better prepare for it, change your custom External Trigger to continue_chat (this will be the name when released) instead of ask.