Skip to content

Commit 71acd70

Browse files
committed
fix: Adjust the parameter format to camel case style.
Signed-off-by: Sun Yuhan <[email protected]>
1 parent a2cad3e commit 71acd70

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

models/spring-ai-bedrock-converse/src/main/java/org/springframework/ai/bedrock/converse/BedrockChatOptions.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,25 @@ public class BedrockChatOptions implements ToolCallingChatOptions {
4444
@JsonProperty("model")
4545
private String model;
4646

47-
@JsonProperty("frequency_penalty")
47+
@JsonProperty("frequencyPenalty")
4848
private Double frequencyPenalty;
4949

50-
@JsonProperty("max_tokens")
50+
@JsonProperty("maxTokens")
5151
private Integer maxTokens;
5252

53-
@JsonProperty("presence_penalty")
53+
@JsonProperty("presencePenalty")
5454
private Double presencePenalty;
5555

56-
@JsonProperty("stop_sequences")
56+
@JsonProperty("stopSequences")
5757
private List<String> stopSequences;
5858

5959
@JsonProperty("temperature")
6060
private Double temperature;
6161

62-
@JsonProperty("top_k")
62+
@JsonProperty("topK")
6363
private Integer topK;
6464

65-
@JsonProperty("top_p")
65+
@JsonProperty("topP")
6666
private Double topP;
6767

6868
@JsonIgnore

0 commit comments

Comments
 (0)