Skip to content

Commit 364220d

Browse files
author
Bob Strahan
committed
> Add quotes to temperature and top_p description fields in pattern CloudFormation templates
1 parent 7af81bf commit 364220d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

patterns/pattern-1/template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,14 +553,14 @@ Resources:
553553
order: 0
554554
temperature:
555555
type: number
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)
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: 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.
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,14 +1392,14 @@ Resources:
13921392
order: 0
13931393
temperature:
13941394
type: number
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)
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: 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.
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: 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)
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: 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.
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: 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)
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: 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.
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)