You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: models/spring-ai-vertex-ai-gemini/src/main/java/org/springframework/ai/vertexai/gemini/VertexAiGeminiChatModel.java
Copy file name to clipboardExpand all lines: models/spring-ai-vertex-ai-gemini/src/main/java/org/springframework/ai/vertexai/gemini/VertexAiGeminiChatOptions.java
+25-3Lines changed: 25 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,14 @@ public class VertexAiGeminiChatOptions implements ToolCallingChatOptions {
88
88
*/
89
89
private@JsonProperty("topK") IntegertopK;
90
90
91
+
/**
92
+
* Optional. When seed is fixed to a specific value, the model makes a best effort to provide the same response for
93
+
* repeated requests. Deterministic output isn't guaranteed. Also, changing the model or parameter settings, such
94
+
* as the temperature, can cause variations in the response even when you use the same seed value.
95
+
* By default, a random seed value is used.
96
+
*/
97
+
private@JsonProperty("seed") Integerseed;
98
+
91
99
/**
92
100
* Optional. The maximum number of tokens to generate.
93
101
*/
@@ -183,6 +191,7 @@ public static VertexAiGeminiChatOptions fromOptions(VertexAiGeminiChatOptions fr
0 commit comments