-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
55 lines (51 loc) · 1.57 KB
/
Copy pathaction.yml
File metadata and controls
55 lines (51 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: "llm-exe"
description: "Run LLM prompts in GitHub Actions with structured outputs."
author: "llm-exe"
branding:
icon: "cpu"
color: "gray-dark"
inputs:
provider:
description: "llm-exe provider key passed to useLlm, such as openai.chat.v1 or openai.gpt-4o-mini."
required: true
model:
description: "Optional model option merged into useLlm options."
required: false
system:
description: "Optional system prompt passed as the first argument to createChatPrompt."
required: false
message:
description: "User message template added to the chat prompt."
required: true
data:
description: "JSON object passed to executor.execute as prompt data."
required: false
default: "{}"
parser:
description: "Parser name passed to createParser."
required: false
default: "string"
parser-options:
description: "JSON object passed as the second argument to createParser."
required: false
default: "{}"
llm-options:
description: "JSON object merged into useLlm options."
required: false
default: "{}"
executor-options:
description: "JSON object passed to executor.execute, including jsonSchema, functions, and functionCall."
required: false
default: "{}"
debug:
description: "When true, log executor completion metadata."
required: false
default: "false"
outputs:
result:
description: "Executor result as a string. Objects and arrays are JSON-stringified."
json:
description: "Executor result JSON-stringified for use with fromJson."
runs:
using: "node20"
main: "dist/index.js"