read prompt from file and print output to file

This commit is contained in:
Aiqiao Yan
2025-04-17 17:41:35 +00:00
parent c7105a4c1e
commit 43f6a3831f
8 changed files with 123 additions and 34 deletions
+7 -1
View File
@@ -11,7 +11,11 @@ branding:
inputs:
prompt:
description: The prompt for the model
required: true
required: false
default: ''
prompt-file:
description: Path to a file containing the prompt
required: false
default: ''
model:
description: The model to use
@@ -38,6 +42,8 @@ inputs:
outputs:
response:
description: The response from the model
response-path:
description: The file path where the response is saved
runs:
using: node20