@adaline/google 1.17.0 → 1.17.2
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 +437 -1
- package/dist/index.d.ts +437 -1
- package/dist/index.js +159 -143
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4529,6 +4529,115 @@ declare class Gemini2_0Flash extends BaseChatModel {
|
|
|
4529
4529
|
constructor(options: Gemini2_0FlashOptionsType);
|
|
4530
4530
|
}
|
|
4531
4531
|
|
|
4532
|
+
declare const Gemini2_0FlashLiteLiteral = "gemini-2.0-flash-lite";
|
|
4533
|
+
declare const Gemini2_0FlashLiteSchema: {
|
|
4534
|
+
description: string;
|
|
4535
|
+
maxOutputTokens: number;
|
|
4536
|
+
name: string;
|
|
4537
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4538
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4539
|
+
maxInputTokens: number;
|
|
4540
|
+
config: {
|
|
4541
|
+
def: Record<string, {
|
|
4542
|
+
type: "multi-string";
|
|
4543
|
+
param: string;
|
|
4544
|
+
title: string;
|
|
4545
|
+
description: string;
|
|
4546
|
+
max: number;
|
|
4547
|
+
} | {
|
|
4548
|
+
type: "object-schema";
|
|
4549
|
+
param: string;
|
|
4550
|
+
title: string;
|
|
4551
|
+
description: string;
|
|
4552
|
+
objectSchema?: any;
|
|
4553
|
+
} | {
|
|
4554
|
+
type: "paired-select";
|
|
4555
|
+
param: string;
|
|
4556
|
+
title: string;
|
|
4557
|
+
description: string;
|
|
4558
|
+
fields: [{
|
|
4559
|
+
label: string;
|
|
4560
|
+
key: string;
|
|
4561
|
+
choices: {
|
|
4562
|
+
value: string;
|
|
4563
|
+
label: string;
|
|
4564
|
+
}[];
|
|
4565
|
+
description?: string | undefined;
|
|
4566
|
+
}, {
|
|
4567
|
+
label: string;
|
|
4568
|
+
key: string;
|
|
4569
|
+
choices: {
|
|
4570
|
+
value: string;
|
|
4571
|
+
label: string;
|
|
4572
|
+
}[];
|
|
4573
|
+
description?: string | undefined;
|
|
4574
|
+
}];
|
|
4575
|
+
uniqueByField?: string | undefined;
|
|
4576
|
+
} | {
|
|
4577
|
+
type: "range";
|
|
4578
|
+
param: string;
|
|
4579
|
+
title: string;
|
|
4580
|
+
description: string;
|
|
4581
|
+
max: number;
|
|
4582
|
+
default: number;
|
|
4583
|
+
min: number;
|
|
4584
|
+
step: number;
|
|
4585
|
+
} | {
|
|
4586
|
+
type: "select-boolean";
|
|
4587
|
+
param: string;
|
|
4588
|
+
title: string;
|
|
4589
|
+
description: string;
|
|
4590
|
+
default: boolean | null;
|
|
4591
|
+
} | {
|
|
4592
|
+
type: "select-string";
|
|
4593
|
+
param: string;
|
|
4594
|
+
title: string;
|
|
4595
|
+
description: string;
|
|
4596
|
+
default: string;
|
|
4597
|
+
choices: string[];
|
|
4598
|
+
}>;
|
|
4599
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4600
|
+
};
|
|
4601
|
+
price: {
|
|
4602
|
+
modelName: string;
|
|
4603
|
+
currency: string;
|
|
4604
|
+
tokenRanges: {
|
|
4605
|
+
minTokens: number;
|
|
4606
|
+
prices: {
|
|
4607
|
+
base: {
|
|
4608
|
+
inputPricePerMillion: number;
|
|
4609
|
+
outputPricePerMillion: number;
|
|
4610
|
+
};
|
|
4611
|
+
};
|
|
4612
|
+
maxTokens?: number | null | undefined;
|
|
4613
|
+
}[];
|
|
4614
|
+
};
|
|
4615
|
+
maxReasoningTokens?: number | undefined;
|
|
4616
|
+
};
|
|
4617
|
+
declare const Gemini2_0FlashLiteOptions: z.ZodObject<{
|
|
4618
|
+
modelName: z.ZodString;
|
|
4619
|
+
apiKey: z.ZodString;
|
|
4620
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
4621
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
4622
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
4623
|
+
}, "strip", z.ZodTypeAny, {
|
|
4624
|
+
modelName: string;
|
|
4625
|
+
apiKey: string;
|
|
4626
|
+
baseUrl?: string | undefined;
|
|
4627
|
+
completeChatUrl?: string | undefined;
|
|
4628
|
+
streamChatUrl?: string | undefined;
|
|
4629
|
+
}, {
|
|
4630
|
+
modelName: string;
|
|
4631
|
+
apiKey: string;
|
|
4632
|
+
baseUrl?: string | undefined;
|
|
4633
|
+
completeChatUrl?: string | undefined;
|
|
4634
|
+
streamChatUrl?: string | undefined;
|
|
4635
|
+
}>;
|
|
4636
|
+
type Gemini2_0FlashLiteOptionsType = z.infer<typeof Gemini2_0FlashLiteOptions>;
|
|
4637
|
+
declare class Gemini2_0FlashLite extends BaseChatModel {
|
|
4638
|
+
constructor(options: Gemini2_0FlashLiteOptionsType);
|
|
4639
|
+
}
|
|
4640
|
+
|
|
4532
4641
|
declare const Gemini2_5FlashLiteLiteral = "gemini-2.5-flash-lite";
|
|
4533
4642
|
declare const Gemini2_5FlashLiteSchema: {
|
|
4534
4643
|
description: string;
|
|
@@ -4638,6 +4747,115 @@ declare class Gemini2_5FlashLite extends BaseChatModel {
|
|
|
4638
4747
|
constructor(options: Gemini2_5FlashLiteOptionsType);
|
|
4639
4748
|
}
|
|
4640
4749
|
|
|
4750
|
+
declare const Gemini2_5FlashLitePreview092025Literal = "gemini-2.5-flash-lite-preview-09-2025";
|
|
4751
|
+
declare const Gemini2_5FlashLitePreview092025Schema: {
|
|
4752
|
+
description: string;
|
|
4753
|
+
maxOutputTokens: number;
|
|
4754
|
+
name: string;
|
|
4755
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
4756
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
4757
|
+
maxInputTokens: number;
|
|
4758
|
+
config: {
|
|
4759
|
+
def: Record<string, {
|
|
4760
|
+
type: "multi-string";
|
|
4761
|
+
param: string;
|
|
4762
|
+
title: string;
|
|
4763
|
+
description: string;
|
|
4764
|
+
max: number;
|
|
4765
|
+
} | {
|
|
4766
|
+
type: "object-schema";
|
|
4767
|
+
param: string;
|
|
4768
|
+
title: string;
|
|
4769
|
+
description: string;
|
|
4770
|
+
objectSchema?: any;
|
|
4771
|
+
} | {
|
|
4772
|
+
type: "paired-select";
|
|
4773
|
+
param: string;
|
|
4774
|
+
title: string;
|
|
4775
|
+
description: string;
|
|
4776
|
+
fields: [{
|
|
4777
|
+
label: string;
|
|
4778
|
+
key: string;
|
|
4779
|
+
choices: {
|
|
4780
|
+
value: string;
|
|
4781
|
+
label: string;
|
|
4782
|
+
}[];
|
|
4783
|
+
description?: string | undefined;
|
|
4784
|
+
}, {
|
|
4785
|
+
label: string;
|
|
4786
|
+
key: string;
|
|
4787
|
+
choices: {
|
|
4788
|
+
value: string;
|
|
4789
|
+
label: string;
|
|
4790
|
+
}[];
|
|
4791
|
+
description?: string | undefined;
|
|
4792
|
+
}];
|
|
4793
|
+
uniqueByField?: string | undefined;
|
|
4794
|
+
} | {
|
|
4795
|
+
type: "range";
|
|
4796
|
+
param: string;
|
|
4797
|
+
title: string;
|
|
4798
|
+
description: string;
|
|
4799
|
+
max: number;
|
|
4800
|
+
default: number;
|
|
4801
|
+
min: number;
|
|
4802
|
+
step: number;
|
|
4803
|
+
} | {
|
|
4804
|
+
type: "select-boolean";
|
|
4805
|
+
param: string;
|
|
4806
|
+
title: string;
|
|
4807
|
+
description: string;
|
|
4808
|
+
default: boolean | null;
|
|
4809
|
+
} | {
|
|
4810
|
+
type: "select-string";
|
|
4811
|
+
param: string;
|
|
4812
|
+
title: string;
|
|
4813
|
+
description: string;
|
|
4814
|
+
default: string;
|
|
4815
|
+
choices: string[];
|
|
4816
|
+
}>;
|
|
4817
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
4818
|
+
};
|
|
4819
|
+
price: {
|
|
4820
|
+
modelName: string;
|
|
4821
|
+
currency: string;
|
|
4822
|
+
tokenRanges: {
|
|
4823
|
+
minTokens: number;
|
|
4824
|
+
prices: {
|
|
4825
|
+
base: {
|
|
4826
|
+
inputPricePerMillion: number;
|
|
4827
|
+
outputPricePerMillion: number;
|
|
4828
|
+
};
|
|
4829
|
+
};
|
|
4830
|
+
maxTokens?: number | null | undefined;
|
|
4831
|
+
}[];
|
|
4832
|
+
};
|
|
4833
|
+
maxReasoningTokens?: number | undefined;
|
|
4834
|
+
};
|
|
4835
|
+
declare const Gemini2_5FlashLitePreview092025Options: z.ZodObject<{
|
|
4836
|
+
modelName: z.ZodString;
|
|
4837
|
+
apiKey: z.ZodString;
|
|
4838
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
4839
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
4840
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
4841
|
+
}, "strip", z.ZodTypeAny, {
|
|
4842
|
+
modelName: string;
|
|
4843
|
+
apiKey: string;
|
|
4844
|
+
baseUrl?: string | undefined;
|
|
4845
|
+
completeChatUrl?: string | undefined;
|
|
4846
|
+
streamChatUrl?: string | undefined;
|
|
4847
|
+
}, {
|
|
4848
|
+
modelName: string;
|
|
4849
|
+
apiKey: string;
|
|
4850
|
+
baseUrl?: string | undefined;
|
|
4851
|
+
completeChatUrl?: string | undefined;
|
|
4852
|
+
streamChatUrl?: string | undefined;
|
|
4853
|
+
}>;
|
|
4854
|
+
type Gemini2_5FlashLitePreview092025OptionsType = z.infer<typeof Gemini2_5FlashLitePreview092025Options>;
|
|
4855
|
+
declare class Gemini2_5FlashLitePreview092025 extends BaseChatModel {
|
|
4856
|
+
constructor(options: Gemini2_5FlashLitePreview092025OptionsType);
|
|
4857
|
+
}
|
|
4858
|
+
|
|
4641
4859
|
declare const Gemini2_5FlashPreview0417Literal = "gemini-2.5-flash-preview-04-17";
|
|
4642
4860
|
declare const Gemini2_5FlashPreview0417Schema: {
|
|
4643
4861
|
description: string;
|
|
@@ -5074,6 +5292,224 @@ declare class Gemini2_5Pro extends BaseChatModel {
|
|
|
5074
5292
|
constructor(options: Gemini2_5ProOptionsType);
|
|
5075
5293
|
}
|
|
5076
5294
|
|
|
5295
|
+
declare const Gemini3_1ProPreviewCustomtoolsLiteral = "gemini-3.1-pro-preview-customtools";
|
|
5296
|
+
declare const Gemini3_1ProPreviewCustomtoolsSchema: {
|
|
5297
|
+
description: string;
|
|
5298
|
+
maxOutputTokens: number;
|
|
5299
|
+
name: string;
|
|
5300
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
5301
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
5302
|
+
maxInputTokens: number;
|
|
5303
|
+
config: {
|
|
5304
|
+
def: Record<string, {
|
|
5305
|
+
type: "multi-string";
|
|
5306
|
+
param: string;
|
|
5307
|
+
title: string;
|
|
5308
|
+
description: string;
|
|
5309
|
+
max: number;
|
|
5310
|
+
} | {
|
|
5311
|
+
type: "object-schema";
|
|
5312
|
+
param: string;
|
|
5313
|
+
title: string;
|
|
5314
|
+
description: string;
|
|
5315
|
+
objectSchema?: any;
|
|
5316
|
+
} | {
|
|
5317
|
+
type: "paired-select";
|
|
5318
|
+
param: string;
|
|
5319
|
+
title: string;
|
|
5320
|
+
description: string;
|
|
5321
|
+
fields: [{
|
|
5322
|
+
label: string;
|
|
5323
|
+
key: string;
|
|
5324
|
+
choices: {
|
|
5325
|
+
value: string;
|
|
5326
|
+
label: string;
|
|
5327
|
+
}[];
|
|
5328
|
+
description?: string | undefined;
|
|
5329
|
+
}, {
|
|
5330
|
+
label: string;
|
|
5331
|
+
key: string;
|
|
5332
|
+
choices: {
|
|
5333
|
+
value: string;
|
|
5334
|
+
label: string;
|
|
5335
|
+
}[];
|
|
5336
|
+
description?: string | undefined;
|
|
5337
|
+
}];
|
|
5338
|
+
uniqueByField?: string | undefined;
|
|
5339
|
+
} | {
|
|
5340
|
+
type: "range";
|
|
5341
|
+
param: string;
|
|
5342
|
+
title: string;
|
|
5343
|
+
description: string;
|
|
5344
|
+
max: number;
|
|
5345
|
+
default: number;
|
|
5346
|
+
min: number;
|
|
5347
|
+
step: number;
|
|
5348
|
+
} | {
|
|
5349
|
+
type: "select-boolean";
|
|
5350
|
+
param: string;
|
|
5351
|
+
title: string;
|
|
5352
|
+
description: string;
|
|
5353
|
+
default: boolean | null;
|
|
5354
|
+
} | {
|
|
5355
|
+
type: "select-string";
|
|
5356
|
+
param: string;
|
|
5357
|
+
title: string;
|
|
5358
|
+
description: string;
|
|
5359
|
+
default: string;
|
|
5360
|
+
choices: string[];
|
|
5361
|
+
}>;
|
|
5362
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5363
|
+
};
|
|
5364
|
+
price: {
|
|
5365
|
+
modelName: string;
|
|
5366
|
+
currency: string;
|
|
5367
|
+
tokenRanges: {
|
|
5368
|
+
minTokens: number;
|
|
5369
|
+
prices: {
|
|
5370
|
+
base: {
|
|
5371
|
+
inputPricePerMillion: number;
|
|
5372
|
+
outputPricePerMillion: number;
|
|
5373
|
+
};
|
|
5374
|
+
};
|
|
5375
|
+
maxTokens?: number | null | undefined;
|
|
5376
|
+
}[];
|
|
5377
|
+
};
|
|
5378
|
+
maxReasoningTokens?: number | undefined;
|
|
5379
|
+
};
|
|
5380
|
+
declare const Gemini3_1ProPreviewCustomtoolsOptions: z.ZodObject<{
|
|
5381
|
+
modelName: z.ZodString;
|
|
5382
|
+
apiKey: z.ZodString;
|
|
5383
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
5384
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
5385
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
5386
|
+
}, "strip", z.ZodTypeAny, {
|
|
5387
|
+
modelName: string;
|
|
5388
|
+
apiKey: string;
|
|
5389
|
+
baseUrl?: string | undefined;
|
|
5390
|
+
completeChatUrl?: string | undefined;
|
|
5391
|
+
streamChatUrl?: string | undefined;
|
|
5392
|
+
}, {
|
|
5393
|
+
modelName: string;
|
|
5394
|
+
apiKey: string;
|
|
5395
|
+
baseUrl?: string | undefined;
|
|
5396
|
+
completeChatUrl?: string | undefined;
|
|
5397
|
+
streamChatUrl?: string | undefined;
|
|
5398
|
+
}>;
|
|
5399
|
+
type Gemini3_1ProPreviewCustomtoolsOptionsType = z.infer<typeof Gemini3_1ProPreviewCustomtoolsOptions>;
|
|
5400
|
+
declare class Gemini3_1ProPreviewCustomtools extends BaseChatModel {
|
|
5401
|
+
constructor(options: Gemini3_1ProPreviewCustomtoolsOptionsType);
|
|
5402
|
+
}
|
|
5403
|
+
|
|
5404
|
+
declare const Gemini3_1ProPreviewLiteral = "gemini-3.1-pro-preview";
|
|
5405
|
+
declare const Gemini3_1ProPreviewSchema: {
|
|
5406
|
+
description: string;
|
|
5407
|
+
maxOutputTokens: number;
|
|
5408
|
+
name: string;
|
|
5409
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
5410
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
5411
|
+
maxInputTokens: number;
|
|
5412
|
+
config: {
|
|
5413
|
+
def: Record<string, {
|
|
5414
|
+
type: "multi-string";
|
|
5415
|
+
param: string;
|
|
5416
|
+
title: string;
|
|
5417
|
+
description: string;
|
|
5418
|
+
max: number;
|
|
5419
|
+
} | {
|
|
5420
|
+
type: "object-schema";
|
|
5421
|
+
param: string;
|
|
5422
|
+
title: string;
|
|
5423
|
+
description: string;
|
|
5424
|
+
objectSchema?: any;
|
|
5425
|
+
} | {
|
|
5426
|
+
type: "paired-select";
|
|
5427
|
+
param: string;
|
|
5428
|
+
title: string;
|
|
5429
|
+
description: string;
|
|
5430
|
+
fields: [{
|
|
5431
|
+
label: string;
|
|
5432
|
+
key: string;
|
|
5433
|
+
choices: {
|
|
5434
|
+
value: string;
|
|
5435
|
+
label: string;
|
|
5436
|
+
}[];
|
|
5437
|
+
description?: string | undefined;
|
|
5438
|
+
}, {
|
|
5439
|
+
label: string;
|
|
5440
|
+
key: string;
|
|
5441
|
+
choices: {
|
|
5442
|
+
value: string;
|
|
5443
|
+
label: string;
|
|
5444
|
+
}[];
|
|
5445
|
+
description?: string | undefined;
|
|
5446
|
+
}];
|
|
5447
|
+
uniqueByField?: string | undefined;
|
|
5448
|
+
} | {
|
|
5449
|
+
type: "range";
|
|
5450
|
+
param: string;
|
|
5451
|
+
title: string;
|
|
5452
|
+
description: string;
|
|
5453
|
+
max: number;
|
|
5454
|
+
default: number;
|
|
5455
|
+
min: number;
|
|
5456
|
+
step: number;
|
|
5457
|
+
} | {
|
|
5458
|
+
type: "select-boolean";
|
|
5459
|
+
param: string;
|
|
5460
|
+
title: string;
|
|
5461
|
+
description: string;
|
|
5462
|
+
default: boolean | null;
|
|
5463
|
+
} | {
|
|
5464
|
+
type: "select-string";
|
|
5465
|
+
param: string;
|
|
5466
|
+
title: string;
|
|
5467
|
+
description: string;
|
|
5468
|
+
default: string;
|
|
5469
|
+
choices: string[];
|
|
5470
|
+
}>;
|
|
5471
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
5472
|
+
};
|
|
5473
|
+
price: {
|
|
5474
|
+
modelName: string;
|
|
5475
|
+
currency: string;
|
|
5476
|
+
tokenRanges: {
|
|
5477
|
+
minTokens: number;
|
|
5478
|
+
prices: {
|
|
5479
|
+
base: {
|
|
5480
|
+
inputPricePerMillion: number;
|
|
5481
|
+
outputPricePerMillion: number;
|
|
5482
|
+
};
|
|
5483
|
+
};
|
|
5484
|
+
maxTokens?: number | null | undefined;
|
|
5485
|
+
}[];
|
|
5486
|
+
};
|
|
5487
|
+
maxReasoningTokens?: number | undefined;
|
|
5488
|
+
};
|
|
5489
|
+
declare const Gemini3_1ProPreviewOptions: z.ZodObject<{
|
|
5490
|
+
modelName: z.ZodString;
|
|
5491
|
+
apiKey: z.ZodString;
|
|
5492
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
5493
|
+
completeChatUrl: z.ZodOptional<z.ZodString>;
|
|
5494
|
+
streamChatUrl: z.ZodOptional<z.ZodString>;
|
|
5495
|
+
}, "strip", z.ZodTypeAny, {
|
|
5496
|
+
modelName: string;
|
|
5497
|
+
apiKey: string;
|
|
5498
|
+
baseUrl?: string | undefined;
|
|
5499
|
+
completeChatUrl?: string | undefined;
|
|
5500
|
+
streamChatUrl?: string | undefined;
|
|
5501
|
+
}, {
|
|
5502
|
+
modelName: string;
|
|
5503
|
+
apiKey: string;
|
|
5504
|
+
baseUrl?: string | undefined;
|
|
5505
|
+
completeChatUrl?: string | undefined;
|
|
5506
|
+
streamChatUrl?: string | undefined;
|
|
5507
|
+
}>;
|
|
5508
|
+
type Gemini3_1ProPreviewOptionsType = z.infer<typeof Gemini3_1ProPreviewOptions>;
|
|
5509
|
+
declare class Gemini3_1ProPreview extends BaseChatModel {
|
|
5510
|
+
constructor(options: Gemini3_1ProPreviewOptionsType);
|
|
5511
|
+
}
|
|
5512
|
+
|
|
5077
5513
|
declare const Gemini3FlashPreviewLiteral = "gemini-3-flash-preview";
|
|
5078
5514
|
declare const Gemini3FlashPreviewSchema: {
|
|
5079
5515
|
description: string;
|
|
@@ -5652,4 +6088,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
5652
6088
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
5653
6089
|
}
|
|
5654
6090
|
|
|
5655
|
-
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, GOOGLE_SAFETY_CATEGORIES, GOOGLE_SAFETY_CATEGORY_OPTIONS, GOOGLE_SAFETY_THRESHOLDS, GOOGLE_SAFETY_THRESHOLD_OPTIONS, 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_0Flash, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLiteSchema, 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, Gemini3FlashPreview, Gemini3FlashPreviewLiteral, Gemini3FlashPreviewOptions, type Gemini3FlashPreviewOptionsType, Gemini3FlashPreviewSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, GoogleChatContentPartThinking, type GoogleChatContentPartThinkingType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatGoogleSearchTool, type GoogleChatGoogleSearchToolType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatThinkingConfig, type GoogleChatThinkingConfigType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleGroundingChunk, type GoogleGroundingChunkType, type GoogleGroundingChunkWebType, GoogleGroundingMetadata, type GoogleGroundingMetadataType, GoogleGroundingSupport, type GoogleGroundingSupportType, GoogleSearchEntryPoint, type GoogleSearchEntryPointType, type GoogleSegmentType, 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, googleSearchTool, maxReasoningTokens, maxTokens, presencePenalty, reasoningEffort, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
|
|
6091
|
+
export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, GOOGLE_SAFETY_CATEGORIES, GOOGLE_SAFETY_CATEGORY_OPTIONS, GOOGLE_SAFETY_THRESHOLDS, GOOGLE_SAFETY_THRESHOLD_OPTIONS, 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_0Flash, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_0FlashLite, Gemini2_0FlashLiteLiteral, Gemini2_0FlashLiteOptions, type Gemini2_0FlashLiteOptionsType, Gemini2_0FlashLiteSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLitePreview092025, Gemini2_5FlashLitePreview092025Literal, Gemini2_5FlashLitePreview092025Options, type Gemini2_5FlashLitePreview092025OptionsType, Gemini2_5FlashLitePreview092025Schema, Gemini2_5FlashLiteSchema, 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, Gemini3FlashPreview, Gemini3FlashPreviewLiteral, Gemini3FlashPreviewOptions, type Gemini3FlashPreviewOptionsType, Gemini3FlashPreviewSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Gemini3_1ProPreview, Gemini3_1ProPreviewCustomtools, Gemini3_1ProPreviewCustomtoolsLiteral, Gemini3_1ProPreviewCustomtoolsOptions, type Gemini3_1ProPreviewCustomtoolsOptionsType, Gemini3_1ProPreviewCustomtoolsSchema, Gemini3_1ProPreviewLiteral, Gemini3_1ProPreviewOptions, type Gemini3_1ProPreviewOptionsType, Gemini3_1ProPreviewSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, GoogleChatContentPartThinking, type GoogleChatContentPartThinkingType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatGoogleSearchTool, type GoogleChatGoogleSearchToolType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatThinkingConfig, type GoogleChatThinkingConfigType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleGroundingChunk, type GoogleGroundingChunkType, type GoogleGroundingChunkWebType, GoogleGroundingMetadata, type GoogleGroundingMetadataType, GoogleGroundingSupport, type GoogleGroundingSupportType, GoogleSearchEntryPoint, type GoogleSearchEntryPointType, type GoogleSegmentType, 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, googleSearchTool, maxReasoningTokens, maxTokens, presencePenalty, reasoningEffort, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
|