@adaline/google 1.4.0 → 1.5.1

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.
package/dist/index.d.mts CHANGED
@@ -866,7 +866,7 @@ declare const GoogleChatModelRolesMap: {
866
866
  };
867
867
 
868
868
  declare const GoogleChatModelModalities: ChatModelSchemaType["modalities"];
869
- declare const GoogleChatModelModalitiesEnum: z.ZodEnum<["text", "image", "tool-call", "tool-response"]>;
869
+ declare const GoogleChatModelModalitiesEnum: z.ZodEnum<["text", "image", "pdf", "tool-call", "tool-response"]>;
870
870
  declare const GoogleChatModelTextModalities: ChatModelSchemaType["modalities"];
871
871
  declare const GoogleChatModelTextModalitiesEnum: z.ZodEnum<["text"]>;
872
872
  declare const GoogleChatModelTextVisionModalities: ChatModelSchemaType["modalities"];
@@ -1372,24 +1372,47 @@ declare const GoogleChatContentPartInlineData: z.ZodObject<{
1372
1372
  mime_type: z.ZodString;
1373
1373
  data: z.ZodString;
1374
1374
  }, "strip", z.ZodTypeAny, {
1375
- data: string;
1376
1375
  mime_type: string;
1377
- }, {
1378
1376
  data: string;
1377
+ }, {
1379
1378
  mime_type: string;
1379
+ data: string;
1380
1380
  }>;
1381
1381
  }, "strip", z.ZodTypeAny, {
1382
1382
  inline_data: {
1383
- data: string;
1384
1383
  mime_type: string;
1384
+ data: string;
1385
1385
  };
1386
1386
  }, {
1387
1387
  inline_data: {
1388
- data: string;
1389
1388
  mime_type: string;
1389
+ data: string;
1390
1390
  };
1391
1391
  }>;
1392
1392
  type GoogleChatContentPartInlineDataType = z.infer<typeof GoogleChatContentPartInlineData>;
1393
+ declare const GoogleChatContentPartFileData: z.ZodObject<{
1394
+ file_data: z.ZodObject<{
1395
+ mime_type: z.ZodString;
1396
+ file_uri: z.ZodString;
1397
+ }, "strip", z.ZodTypeAny, {
1398
+ mime_type: string;
1399
+ file_uri: string;
1400
+ }, {
1401
+ mime_type: string;
1402
+ file_uri: string;
1403
+ }>;
1404
+ }, "strip", z.ZodTypeAny, {
1405
+ file_data: {
1406
+ mime_type: string;
1407
+ file_uri: string;
1408
+ };
1409
+ }, {
1410
+ file_data: {
1411
+ mime_type: string;
1412
+ file_uri: string;
1413
+ };
1414
+ }>;
1415
+ type GoogleChatContentPartFileDataType = z.infer<typeof GoogleChatContentPartFileData>;
1393
1416
  declare const GoogleChatContentPartFunctionCall: z.ZodObject<{
1394
1417
  function_call: z.ZodObject<{
1395
1418
  name: z.ZodString;
@@ -1449,21 +1472,42 @@ declare const GoogleChatContent: z.ZodObject<{
1449
1472
  mime_type: z.ZodString;
1450
1473
  data: z.ZodString;
1451
1474
  }, "strip", z.ZodTypeAny, {
1452
- data: string;
1453
1475
  mime_type: string;
1454
- }, {
1455
1476
  data: string;
1477
+ }, {
1456
1478
  mime_type: string;
1479
+ data: string;
1457
1480
  }>;
1458
1481
  }, "strip", z.ZodTypeAny, {
1459
1482
  inline_data: {
1460
- data: string;
1461
1483
  mime_type: string;
1484
+ data: string;
1462
1485
  };
1463
1486
  }, {
1464
1487
  inline_data: {
1488
+ mime_type: string;
1465
1489
  data: string;
1490
+ };
1491
+ }>, z.ZodObject<{
1492
+ file_data: z.ZodObject<{
1493
+ mime_type: z.ZodString;
1494
+ file_uri: z.ZodString;
1495
+ }, "strip", z.ZodTypeAny, {
1466
1496
  mime_type: string;
1497
+ file_uri: string;
1498
+ }, {
1499
+ mime_type: string;
1500
+ file_uri: string;
1501
+ }>;
1502
+ }, "strip", z.ZodTypeAny, {
1503
+ file_data: {
1504
+ mime_type: string;
1505
+ file_uri: string;
1506
+ };
1507
+ }, {
1508
+ file_data: {
1509
+ mime_type: string;
1510
+ file_uri: string;
1467
1511
  };
1468
1512
  }>, z.ZodObject<{
1469
1513
  function_call: z.ZodObject<{
@@ -1514,8 +1558,13 @@ declare const GoogleChatContent: z.ZodObject<{
1514
1558
  text: string;
1515
1559
  } | {
1516
1560
  inline_data: {
1561
+ mime_type: string;
1517
1562
  data: string;
1563
+ };
1564
+ } | {
1565
+ file_data: {
1518
1566
  mime_type: string;
1567
+ file_uri: string;
1519
1568
  };
1520
1569
  } | {
1521
1570
  function_call: {
@@ -1534,8 +1583,13 @@ declare const GoogleChatContent: z.ZodObject<{
1534
1583
  text: string;
1535
1584
  } | {
1536
1585
  inline_data: {
1586
+ mime_type: string;
1537
1587
  data: string;
1588
+ };
1589
+ } | {
1590
+ file_data: {
1538
1591
  mime_type: string;
1592
+ file_uri: string;
1539
1593
  };
1540
1594
  } | {
1541
1595
  function_call: {
@@ -1660,21 +1714,42 @@ declare const GoogleChatRequest: z.ZodObject<{
1660
1714
  mime_type: z.ZodString;
1661
1715
  data: z.ZodString;
1662
1716
  }, "strip", z.ZodTypeAny, {
1663
- data: string;
1664
1717
  mime_type: string;
1665
- }, {
1666
1718
  data: string;
1719
+ }, {
1667
1720
  mime_type: string;
1721
+ data: string;
1668
1722
  }>;
1669
1723
  }, "strip", z.ZodTypeAny, {
1670
1724
  inline_data: {
1671
- data: string;
1672
1725
  mime_type: string;
1726
+ data: string;
1673
1727
  };
1674
1728
  }, {
1675
1729
  inline_data: {
1730
+ mime_type: string;
1676
1731
  data: string;
1732
+ };
1733
+ }>, z.ZodObject<{
1734
+ file_data: z.ZodObject<{
1735
+ mime_type: z.ZodString;
1736
+ file_uri: z.ZodString;
1737
+ }, "strip", z.ZodTypeAny, {
1738
+ mime_type: string;
1739
+ file_uri: string;
1740
+ }, {
1741
+ mime_type: string;
1742
+ file_uri: string;
1743
+ }>;
1744
+ }, "strip", z.ZodTypeAny, {
1745
+ file_data: {
1746
+ mime_type: string;
1747
+ file_uri: string;
1748
+ };
1749
+ }, {
1750
+ file_data: {
1677
1751
  mime_type: string;
1752
+ file_uri: string;
1678
1753
  };
1679
1754
  }>, z.ZodObject<{
1680
1755
  function_call: z.ZodObject<{
@@ -1725,8 +1800,13 @@ declare const GoogleChatRequest: z.ZodObject<{
1725
1800
  text: string;
1726
1801
  } | {
1727
1802
  inline_data: {
1803
+ mime_type: string;
1728
1804
  data: string;
1805
+ };
1806
+ } | {
1807
+ file_data: {
1729
1808
  mime_type: string;
1809
+ file_uri: string;
1730
1810
  };
1731
1811
  } | {
1732
1812
  function_call: {
@@ -1745,8 +1825,13 @@ declare const GoogleChatRequest: z.ZodObject<{
1745
1825
  text: string;
1746
1826
  } | {
1747
1827
  inline_data: {
1828
+ mime_type: string;
1748
1829
  data: string;
1830
+ };
1831
+ } | {
1832
+ file_data: {
1749
1833
  mime_type: string;
1834
+ file_uri: string;
1750
1835
  };
1751
1836
  } | {
1752
1837
  function_call: {
@@ -1948,8 +2033,13 @@ declare const GoogleChatRequest: z.ZodObject<{
1948
2033
  text: string;
1949
2034
  } | {
1950
2035
  inline_data: {
2036
+ mime_type: string;
1951
2037
  data: string;
2038
+ };
2039
+ } | {
2040
+ file_data: {
1952
2041
  mime_type: string;
2042
+ file_uri: string;
1953
2043
  };
1954
2044
  } | {
1955
2045
  function_call: {
@@ -2028,8 +2118,13 @@ declare const GoogleChatRequest: z.ZodObject<{
2028
2118
  text: string;
2029
2119
  } | {
2030
2120
  inline_data: {
2121
+ mime_type: string;
2031
2122
  data: string;
2123
+ };
2124
+ } | {
2125
+ file_data: {
2032
2126
  mime_type: string;
2127
+ file_uri: string;
2033
2128
  };
2034
2129
  } | {
2035
2130
  function_call: {
@@ -2141,6 +2236,7 @@ declare class BaseChatModel implements ChatModelV1<ChatModelSchemaType> {
2141
2236
  delayMs: number;
2142
2237
  };
2143
2238
  getTokenCount(messages: MessageType[]): number;
2239
+ private transformPdfMessages;
2144
2240
  transformModelRequest(request: GoogleChatRequestType): {
2145
2241
  modelName: string | undefined;
2146
2242
  config: ConfigType;
@@ -2178,7 +2274,7 @@ declare const Gemini1_5Flash001Schema: {
2178
2274
  maxOutputTokens: number;
2179
2275
  name: string;
2180
2276
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2181
- modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
2277
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2182
2278
  maxInputTokens: number;
2183
2279
  config: {
2184
2280
  def: Record<string, {
@@ -2264,7 +2360,7 @@ declare const Gemini1_5Flash002Schema: {
2264
2360
  maxOutputTokens: number;
2265
2361
  name: string;
2266
2362
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2267
- modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
2363
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2268
2364
  maxInputTokens: number;
2269
2365
  config: {
2270
2366
  def: Record<string, {
@@ -2350,7 +2446,7 @@ declare const Gemini1_5FlashLatestSchema: {
2350
2446
  maxOutputTokens: number;
2351
2447
  name: string;
2352
2448
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2353
- modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
2449
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2354
2450
  maxInputTokens: number;
2355
2451
  config: {
2356
2452
  def: Record<string, {
@@ -2436,7 +2532,7 @@ declare const Gemini1_5FlashSchema: {
2436
2532
  maxOutputTokens: number;
2437
2533
  name: string;
2438
2534
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2439
- modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
2535
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2440
2536
  maxInputTokens: number;
2441
2537
  config: {
2442
2538
  def: Record<string, {
@@ -2522,7 +2618,7 @@ declare const Gemini1_5Pro001Schema: {
2522
2618
  maxOutputTokens: number;
2523
2619
  name: string;
2524
2620
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2525
- modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
2621
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2526
2622
  maxInputTokens: number;
2527
2623
  config: {
2528
2624
  def: Record<string, {
@@ -2608,7 +2704,7 @@ declare const Gemini1_5Pro002Schema: {
2608
2704
  maxOutputTokens: number;
2609
2705
  name: string;
2610
2706
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2611
- modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
2707
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2612
2708
  maxInputTokens: number;
2613
2709
  config: {
2614
2710
  def: Record<string, {
@@ -2694,7 +2790,7 @@ declare const Gemini1_5ProLatestSchema: {
2694
2790
  maxOutputTokens: number;
2695
2791
  name: string;
2696
2792
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2697
- modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
2793
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2698
2794
  maxInputTokens: number;
2699
2795
  config: {
2700
2796
  def: Record<string, {
@@ -2780,7 +2876,7 @@ declare const Gemini1_5ProSchema: {
2780
2876
  maxOutputTokens: number;
2781
2877
  name: string;
2782
2878
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2783
- modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
2879
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2784
2880
  maxInputTokens: number;
2785
2881
  config: {
2786
2882
  def: Record<string, {
@@ -2866,7 +2962,7 @@ declare const Gemini2_0FlashExpSchema: {
2866
2962
  maxOutputTokens: number;
2867
2963
  name: string;
2868
2964
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2869
- modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
2965
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2870
2966
  maxInputTokens: number;
2871
2967
  config: {
2872
2968
  def: Record<string, {
@@ -2952,7 +3048,7 @@ declare const Gemini2_5FlashPreview0417Schema: {
2952
3048
  maxOutputTokens: number;
2953
3049
  name: string;
2954
3050
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
2955
- modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
3051
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
2956
3052
  maxInputTokens: number;
2957
3053
  config: {
2958
3054
  def: Record<string, {
@@ -3038,7 +3134,7 @@ declare const Gemini2_5ProPreview0325Schema: {
3038
3134
  maxOutputTokens: number;
3039
3135
  name: string;
3040
3136
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
3041
- modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
3137
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
3042
3138
  maxInputTokens: number;
3043
3139
  config: {
3044
3140
  def: Record<string, {
@@ -3124,7 +3220,7 @@ declare const Gemini2_5FlashSchema: {
3124
3220
  maxOutputTokens: number;
3125
3221
  name: string;
3126
3222
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
3127
- modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
3223
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
3128
3224
  maxInputTokens: number;
3129
3225
  config: {
3130
3226
  def: Record<string, {
@@ -3210,7 +3306,7 @@ declare const Gemini2_5ProSchema: {
3210
3306
  maxOutputTokens: number;
3211
3307
  name: string;
3212
3308
  roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
3213
- modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
3309
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
3214
3310
  maxInputTokens: number;
3215
3311
  config: {
3216
3312
  def: Record<string, {
@@ -3604,4 +3700,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
3604
3700
  embeddingModel(options: E): EmbeddingModelV1;
3605
3701
  }
3606
3702
 
3607
- export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, Gemini1_5Flash, Gemini1_5Flash001, Gemini1_5Flash001Literal, Gemini1_5Flash001Options, type Gemini1_5Flash001OptionsType, Gemini1_5Flash001Schema, Gemini1_5Flash002, Gemini1_5Flash002Literal, Gemini1_5Flash002Options, type Gemini1_5Flash002OptionsType, Gemini1_5Flash002Schema, Gemini1_5FlashLatest, Gemini1_5FlashLatestLiteral, Gemini1_5FlashLatestOptions, type Gemini1_5FlashLatestOptionsType, Gemini1_5FlashLatestSchema, Gemini1_5FlashLiteral, Gemini1_5FlashOptions, type Gemini1_5FlashOptionsType, Gemini1_5FlashSchema, Gemini1_5Pro, Gemini1_5Pro001, Gemini1_5Pro001Literal, Gemini1_5Pro001Options, type Gemini1_5Pro001OptionsType, Gemini1_5Pro001Schema, Gemini1_5Pro002, Gemini1_5Pro002Literal, Gemini1_5Pro002Options, type Gemini1_5Pro002OptionsType, Gemini1_5Pro002Schema, Gemini1_5ProLatest, Gemini1_5ProLatestLiteral, Gemini1_5ProLatestOptions, type Gemini1_5ProLatestOptionsType, Gemini1_5ProLatestSchema, Gemini1_5ProLiteral, Gemini1_5ProOptions, type Gemini1_5ProOptionsType, Gemini1_5ProSchema, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_5Flash, Gemini2_5FlashLiteral, Gemini2_5FlashOptions, type Gemini2_5FlashOptionsType, Gemini2_5FlashPreview0417, Gemini2_5FlashPreview0417Literal, Gemini2_5FlashPreview0417Options, type Gemini2_5FlashPreview0417OptionsType, Gemini2_5FlashPreview0417Schema, Gemini2_5FlashSchema, Gemini2_5Pro, Gemini2_5ProLiteral, Gemini2_5ProOptions, type Gemini2_5ProOptionsType, Gemini2_5ProPreview0325, Gemini2_5ProPreview0325Literal, Gemini2_5ProPreview0325Options, type Gemini2_5ProPreview0325OptionsType, Gemini2_5ProPreview0325Schema, Gemini2_5ProSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleStreamChatResponse, type GoogleStreamChatResponseType, GoogleStreamChatTextResponse, GoogleStreamChatToolResponse, ProviderLiteral, Text_Embedding_001, Text_Embedding_001Literal, Text_Embedding_001Options, type Text_Embedding_001OptionsType, Text_Embedding_001Schema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, dimensions, frequencyPenalty, maxTokens, presencePenalty, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
3703
+ export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, Gemini1_5Flash, Gemini1_5Flash001, Gemini1_5Flash001Literal, Gemini1_5Flash001Options, type Gemini1_5Flash001OptionsType, Gemini1_5Flash001Schema, Gemini1_5Flash002, Gemini1_5Flash002Literal, Gemini1_5Flash002Options, type Gemini1_5Flash002OptionsType, Gemini1_5Flash002Schema, Gemini1_5FlashLatest, Gemini1_5FlashLatestLiteral, Gemini1_5FlashLatestOptions, type Gemini1_5FlashLatestOptionsType, Gemini1_5FlashLatestSchema, Gemini1_5FlashLiteral, Gemini1_5FlashOptions, type Gemini1_5FlashOptionsType, Gemini1_5FlashSchema, Gemini1_5Pro, Gemini1_5Pro001, Gemini1_5Pro001Literal, Gemini1_5Pro001Options, type Gemini1_5Pro001OptionsType, Gemini1_5Pro001Schema, Gemini1_5Pro002, Gemini1_5Pro002Literal, Gemini1_5Pro002Options, type Gemini1_5Pro002OptionsType, Gemini1_5Pro002Schema, Gemini1_5ProLatest, Gemini1_5ProLatestLiteral, Gemini1_5ProLatestOptions, type Gemini1_5ProLatestOptionsType, Gemini1_5ProLatestSchema, Gemini1_5ProLiteral, Gemini1_5ProOptions, type Gemini1_5ProOptionsType, Gemini1_5ProSchema, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_5Flash, Gemini2_5FlashLiteral, Gemini2_5FlashOptions, type Gemini2_5FlashOptionsType, Gemini2_5FlashPreview0417, Gemini2_5FlashPreview0417Literal, Gemini2_5FlashPreview0417Options, type Gemini2_5FlashPreview0417OptionsType, Gemini2_5FlashPreview0417Schema, Gemini2_5FlashSchema, Gemini2_5Pro, Gemini2_5ProLiteral, Gemini2_5ProOptions, type Gemini2_5ProOptionsType, Gemini2_5ProPreview0325, Gemini2_5ProPreview0325Literal, Gemini2_5ProPreview0325Options, type Gemini2_5ProPreview0325OptionsType, Gemini2_5ProPreview0325Schema, Gemini2_5ProSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleStreamChatResponse, type GoogleStreamChatResponseType, GoogleStreamChatTextResponse, GoogleStreamChatToolResponse, ProviderLiteral, Text_Embedding_001, Text_Embedding_001Literal, Text_Embedding_001Options, type Text_Embedding_001OptionsType, Text_Embedding_001Schema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, dimensions, frequencyPenalty, maxTokens, presencePenalty, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };