@adaline/vertex 1.3.4 → 1.4.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 +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +56 -56
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -68,7 +68,7 @@ declare const Gemini1_5Flash001Schema: {
|
|
|
68
68
|
readonly maxOutputTokens: number;
|
|
69
69
|
readonly name: string;
|
|
70
70
|
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
71
|
-
readonly modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
71
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
72
72
|
readonly maxInputTokens: number;
|
|
73
73
|
readonly config: {
|
|
74
74
|
def: Record<string, {
|
|
@@ -166,7 +166,7 @@ declare const Gemini1_5Flash002Schema: {
|
|
|
166
166
|
maxOutputTokens: number;
|
|
167
167
|
name: string;
|
|
168
168
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
169
|
-
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
169
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
170
170
|
maxInputTokens: number;
|
|
171
171
|
config: {
|
|
172
172
|
def: Record<string, {
|
|
@@ -293,7 +293,7 @@ declare const Gemini1_5Pro001Schema: {
|
|
|
293
293
|
readonly maxOutputTokens: number;
|
|
294
294
|
readonly name: string;
|
|
295
295
|
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
296
|
-
readonly modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
296
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
297
297
|
readonly maxInputTokens: number;
|
|
298
298
|
readonly config: {
|
|
299
299
|
def: Record<string, {
|
|
@@ -391,7 +391,7 @@ declare const Gemini1_5Pro002Schema: {
|
|
|
391
391
|
readonly maxOutputTokens: number;
|
|
392
392
|
readonly name: string;
|
|
393
393
|
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
394
|
-
readonly modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
394
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
395
395
|
readonly maxInputTokens: number;
|
|
396
396
|
readonly config: {
|
|
397
397
|
def: Record<string, {
|
|
@@ -489,7 +489,7 @@ declare const Gemini1_5ProSchema: {
|
|
|
489
489
|
readonly maxOutputTokens: number;
|
|
490
490
|
readonly name: string;
|
|
491
491
|
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
492
|
-
readonly modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
492
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
493
493
|
readonly maxInputTokens: number;
|
|
494
494
|
readonly config: {
|
|
495
495
|
def: Record<string, {
|
|
@@ -578,7 +578,7 @@ declare const Gemini2_0FlashExpSchema: {
|
|
|
578
578
|
readonly maxOutputTokens: number;
|
|
579
579
|
readonly name: string;
|
|
580
580
|
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
581
|
-
readonly modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
581
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
582
582
|
readonly maxInputTokens: number;
|
|
583
583
|
readonly config: {
|
|
584
584
|
def: Record<string, {
|
package/dist/index.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ declare const Gemini1_5Flash001Schema: {
|
|
|
68
68
|
readonly maxOutputTokens: number;
|
|
69
69
|
readonly name: string;
|
|
70
70
|
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
71
|
-
readonly modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
71
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
72
72
|
readonly maxInputTokens: number;
|
|
73
73
|
readonly config: {
|
|
74
74
|
def: Record<string, {
|
|
@@ -166,7 +166,7 @@ declare const Gemini1_5Flash002Schema: {
|
|
|
166
166
|
maxOutputTokens: number;
|
|
167
167
|
name: string;
|
|
168
168
|
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
169
|
-
modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
169
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
170
170
|
maxInputTokens: number;
|
|
171
171
|
config: {
|
|
172
172
|
def: Record<string, {
|
|
@@ -293,7 +293,7 @@ declare const Gemini1_5Pro001Schema: {
|
|
|
293
293
|
readonly maxOutputTokens: number;
|
|
294
294
|
readonly name: string;
|
|
295
295
|
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
296
|
-
readonly modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
296
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
297
297
|
readonly maxInputTokens: number;
|
|
298
298
|
readonly config: {
|
|
299
299
|
def: Record<string, {
|
|
@@ -391,7 +391,7 @@ declare const Gemini1_5Pro002Schema: {
|
|
|
391
391
|
readonly maxOutputTokens: number;
|
|
392
392
|
readonly name: string;
|
|
393
393
|
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
394
|
-
readonly modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
394
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
395
395
|
readonly maxInputTokens: number;
|
|
396
396
|
readonly config: {
|
|
397
397
|
def: Record<string, {
|
|
@@ -489,7 +489,7 @@ declare const Gemini1_5ProSchema: {
|
|
|
489
489
|
readonly maxOutputTokens: number;
|
|
490
490
|
readonly name: string;
|
|
491
491
|
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
492
|
-
readonly modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
492
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
493
493
|
readonly maxInputTokens: number;
|
|
494
494
|
readonly config: {
|
|
495
495
|
def: Record<string, {
|
|
@@ -578,7 +578,7 @@ declare const Gemini2_0FlashExpSchema: {
|
|
|
578
578
|
readonly maxOutputTokens: number;
|
|
579
579
|
readonly name: string;
|
|
580
580
|
readonly roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
581
|
-
readonly modalities: ["text" | "image" | "tool-call" | "tool-response", ...("text" | "image" | "tool-call" | "tool-response")[]];
|
|
581
|
+
readonly modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
|
|
582
582
|
readonly maxInputTokens: number;
|
|
583
583
|
readonly config: {
|
|
584
584
|
def: Record<string, {
|