You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can create dynamic prompts using {{ variable }} syntax with the usage of
the vars parameter.
- uses: FidelusAleksander/prompt-action@v1with:
system-prompt: | You are a {{ language }} expert translator. You will be provided with text to translate to {{ language }}. Respond with nothing but the translated text.prompt-file: README.mdvars: | language: Spanish
[!TIP] Variable templating makes most sense when using prompt-file or
system-prompt-file inputs, as it allows you to maintain reusable prompt
templates with dynamic content.
Permissions 🔒
This actions requires at minimum the following permissions set.