Skip to content

Commit 3332bc4

Browse files
author
Bob Strahan
committed
> Update temperature and top_p parameter descriptions across all pattern templates with clearer sampling behavior guidance
1 parent 3de9873 commit 3332bc4

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

patterns/pattern-1/template.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -508,14 +508,14 @@ Resources:
508508
order: 0
509509
temperature:
510510
type: number
511-
description: "Temperature parameter for model creativity (0.0-1.0). When > 0.0, this parameter is used and top_p is ignored. Set to 0.0 to use top_p instead."
511+
description: "Sampling temperature: Controls randomness in model output (0.0 = deterministic, higher = more random). Used when top_p is 0 or not set. Anthropic recommends temperature=0.0 for consistent, deterministic outputs. (0.0-1.0). When > 0.0, this parameter is used and top_p is ignored. Set to 0.0 to use top_p instead."
512512
minimum: 0.0
513513
maximum: 1.0
514514
default: 1.0
515515
order: 1
516516
top_p:
517517
type: number
518-
description: "Top-p parameter for nucleus sampling (0.0-1.0). Only used when temperature is 0.0. Ignored otherwise."
518+
description: "Sampling Top P: Nucleus sampling threshold (0.0-1.0). When set to a positive value (> 0), overrides temperature parameter. Set to 0 or omit to use temperature instead.. Only used when temperature is 0.0. Ignored otherwise."
519519
minimum: 0.0
520520
maximum: 1.0
521521
default: 0.1
@@ -553,14 +553,14 @@ Resources:
553553
order: 0
554554
temperature:
555555
type: number
556-
description: Temperature parameter for model creativity (0.0-1.0)
556+
description: Sampling temperature: Controls randomness in model output (0.0 = deterministic, higher = more random). Used when top_p is 0 or not set. Anthropic recommends temperature=0.0 for consistent, deterministic outputs. (0.0-1.0)
557557
minimum: 0.0
558558
maximum: 1.0
559559
default: 1.0
560560
order: 1
561561
top_p:
562562
type: number
563-
description: Top-p parameter for nucleus sampling (0.0-1.0)
563+
description: Sampling Top P: Nucleus sampling threshold (0.0-1.0). When set to a positive value (> 0), overrides temperature parameter. Set to 0 or omit to use temperature instead.
564564
minimum: 0.0
565565
maximum: 1.0
566566
default: 0.1

patterns/pattern-2/template.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,14 +1323,14 @@ Resources:
13231323
order: 0
13241324
temperature:
13251325
type: number
1326-
description: "Temperature parameter for model creativity (0.0-1.0). When > 0.0, this parameter is used and top_p is ignored. Set to 0.0 to use top_p instead."
1326+
description: "Sampling temperature: Controls randomness in model output (0.0 = deterministic, higher = more random). Used when top_p is 0 or not set. Anthropic recommends temperature=0.0 for consistent, deterministic outputs. (0.0-1.0). When > 0.0, this parameter is used and top_p is ignored. Set to 0.0 to use top_p instead."
13271327
minimum: 0.0
13281328
maximum: 1.0
13291329
default: 1.0
13301330
order: 1
13311331
top_p:
13321332
type: number
1333-
description: "Top-p parameter for nucleus sampling (0.0-1.0). Only used when temperature is 0.0. Ignored otherwise."
1333+
description: "Sampling Top P: Nucleus sampling threshold (0.0-1.0). When set to a positive value (> 0), overrides temperature parameter. Set to 0 or omit to use temperature instead.. Only used when temperature is 0.0. Ignored otherwise."
13341334
minimum: 0.0
13351335
maximum: 1.0
13361336
default: 0.1
@@ -1392,14 +1392,14 @@ Resources:
13921392
order: 0
13931393
temperature:
13941394
type: number
1395-
description: Temperature parameter for model creativity (0.0-1.0)
1395+
description: Sampling temperature: Controls randomness in model output (0.0 = deterministic, higher = more random). Used when top_p is 0 or not set. Anthropic recommends temperature=0.0 for consistent, deterministic outputs. (0.0-1.0)
13961396
minimum: 0.0
13971397
maximum: 1.0
13981398
default: 1.0
13991399
order: 1
14001400
top_p:
14011401
type: number
1402-
description: Top-p parameter for nucleus sampling (0.0-1.0)
1402+
description: Sampling Top P: Nucleus sampling threshold (0.0-1.0). When set to a positive value (> 0), overrides temperature parameter. Set to 0 or omit to use temperature instead.
14031403
minimum: 0.0
14041404
maximum: 1.0
14051405
default: 0.1

patterns/pattern-3/template.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,14 +1090,14 @@ Resources:
10901090
order: 0
10911091
temperature:
10921092
type: number
1093-
description: Temperature parameter for model creativity (0.0-1.0)
1093+
description: Sampling temperature: Controls randomness in model output (0.0 = deterministic, higher = more random). Used when top_p is 0 or not set. Anthropic recommends temperature=0.0 for consistent, deterministic outputs. (0.0-1.0)
10941094
minimum: 0.0
10951095
maximum: 1.0
10961096
default: 1.0
10971097
order: 1
10981098
top_p:
10991099
type: number
1100-
description: Top-p parameter for nucleus sampling (0.0-1.0)
1100+
description: Sampling Top P: Nucleus sampling threshold (0.0-1.0). When set to a positive value (> 0), overrides temperature parameter. Set to 0 or omit to use temperature instead.
11011101
minimum: 0.0
11021102
maximum: 1.0
11031103
default: 0.1
@@ -1135,14 +1135,14 @@ Resources:
11351135
order: 0
11361136
temperature:
11371137
type: number
1138-
description: Temperature parameter for model creativity (0.0-1.0)
1138+
description: Sampling temperature: Controls randomness in model output (0.0 = deterministic, higher = more random). Used when top_p is 0 or not set. Anthropic recommends temperature=0.0 for consistent, deterministic outputs. (0.0-1.0)
11391139
minimum: 0.0
11401140
maximum: 1.0
11411141
default: 1.0
11421142
order: 1
11431143
top_p:
11441144
type: number
1145-
description: Top-p parameter for nucleus sampling (0.0-1.0)
1145+
description: Sampling Top P: Nucleus sampling threshold (0.0-1.0). When set to a positive value (> 0), overrides temperature parameter. Set to 0 or omit to use temperature instead.
11461146
minimum: 0.0
11471147
maximum: 1.0
11481148
default: 0.1

0 commit comments

Comments
 (0)