@google/genai 2.7.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,7 +41,7 @@ var Language;
41
41
  */
42
42
  Language["PYTHON"] = "PYTHON";
43
43
  })(Language || (Language = {}));
44
- /** Specifies how the response should be scheduled in the conversation. */
44
+ /** Specifies how the response should be scheduled in the conversation. Only applicable to NON_BLOCKING function calls, is ignored otherwise. Defaults to WHEN_IDLE. */
45
45
  var FunctionResponseScheduling;
46
46
  (function (FunctionResponseScheduling) {
47
47
  /**
@@ -1237,6 +1237,58 @@ var ImageResizeMode;
1237
1237
  */
1238
1238
  ImageResizeMode["PAD"] = "PAD";
1239
1239
  })(ImageResizeMode || (ImageResizeMode = {}));
1240
+ /** Defines how to parse sample response. */
1241
+ var ResponseParseType;
1242
+ (function (ResponseParseType) {
1243
+ /**
1244
+ * Default value. This value is unused.
1245
+ */
1246
+ ResponseParseType["RESPONSE_PARSE_TYPE_UNSPECIFIED"] = "RESPONSE_PARSE_TYPE_UNSPECIFIED";
1247
+ /**
1248
+ * Use the sample response as is.
1249
+ */
1250
+ ResponseParseType["IDENTITY"] = "IDENTITY";
1251
+ /**
1252
+ * Use regex to extract the important part of sample response.
1253
+ */
1254
+ ResponseParseType["REGEX_EXTRACT"] = "REGEX_EXTRACT";
1255
+ })(ResponseParseType || (ResponseParseType = {}));
1256
+ /** Match operation to use for evaluation. */
1257
+ var MatchOperation;
1258
+ (function (MatchOperation) {
1259
+ /**
1260
+ * Default value. This value is unused.
1261
+ */
1262
+ MatchOperation["MATCH_OPERATION_UNSPECIFIED"] = "MATCH_OPERATION_UNSPECIFIED";
1263
+ /**
1264
+ * Equivalent to GoogleSQL `REGEX_CONTAINS(target, expression)`.
1265
+ */
1266
+ MatchOperation["REGEX_CONTAINS"] = "REGEX_CONTAINS";
1267
+ /**
1268
+ * `expression` is a substring of target.
1269
+ */
1270
+ MatchOperation["PARTIAL_MATCH"] = "PARTIAL_MATCH";
1271
+ /**
1272
+ * `expression` is an exact match of target.
1273
+ */
1274
+ MatchOperation["EXACT_MATCH"] = "EXACT_MATCH";
1275
+ })(MatchOperation || (MatchOperation = {}));
1276
+ /** Represents how much to think for the tuning job. */
1277
+ var ReinforcementTuningThinkingLevel;
1278
+ (function (ReinforcementTuningThinkingLevel) {
1279
+ /**
1280
+ * Unspecified thinking level.
1281
+ */
1282
+ ReinforcementTuningThinkingLevel["REINFORCEMENT_TUNING_THINKING_LEVEL_UNSPECIFIED"] = "REINFORCEMENT_TUNING_THINKING_LEVEL_UNSPECIFIED";
1283
+ /**
1284
+ * Little to no thinking.
1285
+ */
1286
+ ReinforcementTuningThinkingLevel["MINIMAL"] = "MINIMAL";
1287
+ /**
1288
+ * High thinking level.
1289
+ */
1290
+ ReinforcementTuningThinkingLevel["HIGH"] = "HIGH";
1291
+ })(ReinforcementTuningThinkingLevel || (ReinforcementTuningThinkingLevel = {}));
1240
1292
  /** Enum representing the tuning method. */
1241
1293
  var TuningMethod;
1242
1294
  (function (TuningMethod) {