-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
43 lines (43 loc) · 1.34 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
name: 'AI review action'
description: 'Provides AI-generated feedback on student submissions'
author: 'Pupilfirst'
runs:
using: 'docker'
image: 'Dockerfile'
inputs:
OPEN_AI_MODEL:
description: 'OpenAI model used to process requests'
required: false
default: 'gpt-3.5-turbo'
OPEN_AI_TEMPERATURE:
description: 'Adjusts the randomness of the model output'
required: false
default: 0.1
SYSTEM_PROMPT:
description: 'System prompt to be given to the AI'
required: false
USER_PROMPT:
description: 'Used to customize the part of the prompt about the user role'
required: false
ROLE_PROMPT:
description: 'Specifies the role of the AI'
required: false
INPUT_DESCRIPTION:
description: 'Describes the input data format'
required: false
OUTPUT_DESCRIPTION:
description: 'Describes the desired output format for the AI response'
required: false
OPENAI_ACCESS_TOKEN:
description: 'API access token obtained from OpenAI'
required: true
OPENAI_ORGANIZATION_ID:
description: 'Optional ID of your organization in OpenAI'
required: false
default: ''
REVIEW_END_POINT:
description: 'URL of the endpoint where the reviews are sent'
required: true
REVIEW_BOT_USER_TOKEN:
description: 'Token used for authorization when sending the reviews to the LMS'
required: true