Skip to content

Commit 4365e39

Browse files
committed
Requested evaluation metric descriptions enhancements
1 parent 77a5acd commit 4365e39

File tree

7 files changed

+22
-22
lines changed

7 files changed

+22
-22
lines changed

apps/web/src/components/evaluations/human/Binary.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ function ConfigurationSimpleForm({
3636
value={configuration.passDescription ?? ''}
3737
name='passDescription'
3838
label='Pass description'
39-
description='When should the response pass?'
40-
placeholder='No pass description'
39+
description='Additional guidelines describing when the response is acceptable'
40+
placeholder='The response promotes continued interaction'
4141
onChange={(e) =>
4242
setConfiguration({
4343
...configuration,
@@ -53,8 +53,8 @@ function ConfigurationSimpleForm({
5353
value={configuration.failDescription ?? ''}
5454
name='failDescription'
5555
label='Fail description'
56-
description='When should the response fail?'
57-
placeholder='No fail description'
56+
description='Additional guidelines describing when the response is not acceptable'
57+
placeholder='The response discourages interaction'
5858
onChange={(e) =>
5959
setConfiguration({
6060
...configuration,

apps/web/src/components/evaluations/human/Rating.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function ConfigurationSimpleForm({
3939
<FormFieldGroup
4040
layout='horizontal'
4141
label='Minimum rating'
42-
description='When should the response be rated low?'
42+
description='Additional guidelines describing when the response should be rated low'
4343
>
4444
<NumberInput
4545
value={configuration.minRating ?? undefined}
@@ -59,7 +59,7 @@ function ConfigurationSimpleForm({
5959
<Input
6060
value={configuration.minRatingDescription ?? ''}
6161
name='minRatingDescription'
62-
placeholder='No minimum rating description'
62+
placeholder='The response discourages interaction'
6363
onChange={(e) =>
6464
setConfiguration({
6565
...configuration,
@@ -75,7 +75,7 @@ function ConfigurationSimpleForm({
7575
<FormFieldGroup
7676
layout='horizontal'
7777
label='Maximum rating'
78-
description='When should the response be rated high?'
78+
description='Additional guidelines describing when the response should be rated high'
7979
>
8080
<NumberInput
8181
value={configuration.maxRating ?? undefined}
@@ -95,7 +95,7 @@ function ConfigurationSimpleForm({
9595
<Input
9696
value={configuration.maxRatingDescription ?? ''}
9797
name='maxRatingDescription'
98-
placeholder='No maximum rating description'
98+
placeholder='The response promotes continued interaction'
9999
onChange={(e) =>
100100
setConfiguration({
101101
...configuration,

apps/web/src/components/evaluations/human/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ function ConfigurationSimpleForm<M extends HumanEvaluationMetric>({
5656
value={configuration.criteria ?? ''}
5757
name='criteria'
5858
label='Criteria'
59-
description='The criteria to judge against'
60-
placeholder='No criteria'
59+
description='Optional instructions to guide the evaluators on the criteria to judge against'
60+
placeholder='Judge the engagement of the response'
6161
minRows={2}
6262
maxRows={4}
6363
onChange={(e) =>

apps/web/src/components/evaluations/llm/Binary.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function ConfigurationSimpleForm({
3333
value={configuration.criteria ?? ''}
3434
name='criteria'
3535
label='Criteria'
36-
description='The criteria to judge against'
36+
description='Instructions to guide the LLM on the criteria to judge against'
3737
placeholder='Judge the engagement of the response'
3838
minRows={2}
3939
maxRows={4}
@@ -49,8 +49,8 @@ function ConfigurationSimpleForm({
4949
value={configuration.passDescription ?? ''}
5050
name='passDescription'
5151
label='Pass description'
52-
description='When should the response pass?'
53-
placeholder='The response demonstrates continued interaction'
52+
description='Additional guidelines describing when the response is acceptable'
53+
placeholder='The response promotes continued interaction'
5454
onChange={(e) =>
5555
setConfiguration({
5656
...configuration,
@@ -66,7 +66,7 @@ function ConfigurationSimpleForm({
6666
value={configuration.failDescription ?? ''}
6767
name='failDescription'
6868
label='Fail description'
69-
description='When should the response fail?'
69+
description='Additional guidelines describing when the response is not acceptable'
7070
placeholder='The response discourages interaction'
7171
onChange={(e) =>
7272
setConfiguration({

apps/web/src/components/evaluations/llm/Comparison.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function ConfigurationSimpleForm({
3636
value={configuration.criteria ?? ''}
3737
name='criteria'
3838
label='Criteria'
39-
description='The criteria to judge against'
39+
description='Instructions to guide the LLM on the criteria to judge against'
4040
placeholder='Judge the similarity of the translation'
4141
minRows={2}
4242
maxRows={4}
@@ -52,7 +52,7 @@ function ConfigurationSimpleForm({
5252
value={configuration.passDescription ?? ''}
5353
name='passDescription'
5454
label='Pass description'
55-
description='When should the response adequately compare?'
55+
description='Additional guidelines describing when the response adequately compares'
5656
placeholder='The translation is almost identical'
5757
onChange={(e) =>
5858
setConfiguration({
@@ -69,7 +69,7 @@ function ConfigurationSimpleForm({
6969
value={configuration.failDescription ?? ''}
7070
name='failDescription'
7171
label='Fail description'
72-
description='When should the response poorly compare?'
72+
description='Additional guidelines describing when the response poorly compares'
7373
placeholder='The translation is completely different'
7474
onChange={(e) =>
7575
setConfiguration({

apps/web/src/components/evaluations/llm/Custom.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ ${
8989
{mode === 'create' && (
9090
<FormField
9191
label='Prompt'
92-
description='The custom evaluation prompt to judge against'
92+
description='The custom evaluation prompt the LLM will use to judge against'
9393
errors={errors?.['prompt']}
9494
>
9595
<Alert

apps/web/src/components/evaluations/llm/Rating.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function ConfigurationSimpleForm({
3737
value={configuration.criteria ?? ''}
3838
name='criteria'
3939
label='Criteria'
40-
description='The criteria to judge against'
40+
description='Instructions to guide the LLM on the criteria to judge against'
4141
placeholder='Judge the engagement of the response'
4242
minRows={2}
4343
maxRows={4}
@@ -52,7 +52,7 @@ function ConfigurationSimpleForm({
5252
<FormFieldGroup
5353
layout='horizontal'
5454
label='Minimum rating'
55-
description='When should the response be rated low?'
55+
description='Additional guidelines describing when the response should be rated low'
5656
>
5757
<NumberInput
5858
value={configuration.minRating ?? undefined}
@@ -88,7 +88,7 @@ function ConfigurationSimpleForm({
8888
<FormFieldGroup
8989
layout='horizontal'
9090
label='Maximum rating'
91-
description='When should the response be rated high?'
91+
description='Additional guidelines describing when the response should be rated high'
9292
>
9393
<NumberInput
9494
value={configuration.maxRating ?? undefined}
@@ -108,7 +108,7 @@ function ConfigurationSimpleForm({
108108
<Input
109109
value={configuration.maxRatingDescription ?? ''}
110110
name='maxRatingDescription'
111-
placeholder='The response demonstrates continued interaction'
111+
placeholder='The response promotes continued interaction'
112112
onChange={(e) =>
113113
setConfiguration({
114114
...configuration,

0 commit comments

Comments
 (0)