generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
45 lines (42 loc) · 1.2 KB
/
action.yml
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
name: "Braintrust eval"
description: "Automatically run evals on your AI project using Braintrust."
author: "braintrustdata"
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: "activity"
color: "blue"
# Define your inputs here.
inputs:
api_key:
description: "Your Braintrust API key"
required: true
root:
description: "Root directory from which to run evals"
required: false
default: "."
paths:
description: "A list of paths (and glob patterns) to include in the evals"
required: false
default: "."
runtime:
description: "The runtime to use for evals. Valid values: node, python."
required: true
use_proxy:
description:
"Whether to use the Braintrust proxy (to cache LLM calls). Set to 'true'
or 'false'."
required: true
default: "true"
github_token:
description: "Your GitHub token"
required: true
default: ${{ github.token }}
step_key:
description:
"A unique key to identify this step. Do not change this unless you know
what you're doing."
required: true
default: ${{ github.workflow_ref }}-${{ github.action }}
runs:
using: node20
main: eval/dist/index.js