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
@@ -347,14 +415,76 @@ export class GenerativeModel extends VertexAIModel {
347
415
}
348
416
349
417
// @public
350
-
export function getGenerativeModel(vertexAI: VertexAI, modelParams: ModelParams, requestOptions?: RequestOptions): GenerativeModel;
418
+
export function getAI(app?: FirebaseApp, options?: AIOptions): AI;
419
+
420
+
// @public
421
+
export function getGenerativeModel(ai: AI, modelParams: ModelParams, requestOptions?: RequestOptions): GenerativeModel;
351
422
352
423
// @beta
353
-
export function getImagenModel(vertexAI: VertexAI, modelParams: ImagenModelParams, requestOptions?: RequestOptions): ImagenModel;
424
+
export function getImagenModel(ai: AI, modelParams: ImagenModelParams, requestOptions?: RequestOptions): ImagenModel;
354
425
355
426
// @public
356
427
export function getVertexAI(app?: FirebaseApp, options?: VertexAIOptions): VertexAI;
357
428
429
+
// @public
430
+
export class GoogleAIBackend extends Backend {
431
+
constructor();
432
+
}
433
+
434
+
// Warning: (ae-internal-missing-underscore) The name "GoogleAICitationMetadata" should be prefixed with an underscore because the declaration is marked as @internal
435
+
//
436
+
// @internal (undocumented)
437
+
export interface GoogleAICitationMetadata {
438
+
// (undocumented)
439
+
citationSources: Citation[];
440
+
}
441
+
442
+
// Warning: (ae-internal-missing-underscore) The name "GoogleAICountTokensRequest" should be prefixed with an underscore because the declaration is marked as @internal
443
+
//
444
+
// @internal (undocumented)
445
+
export interface GoogleAICountTokensRequest {
446
+
// (undocumented)
447
+
generateContentRequest: {
448
+
model: string;
449
+
contents: Content[];
450
+
systemInstruction?: string | Part | Content;
451
+
tools?: Tool[];
452
+
generationConfig?: GenerationConfig;
453
+
};
454
+
}
455
+
456
+
// Warning: (ae-internal-missing-underscore) The name "GoogleAIGenerateContentCandidate" should be prefixed with an underscore because the declaration is marked as @internal
// Warning: (ae-internal-missing-underscore) The name "GoogleAIGenerateContentResponse" should be prefixed with an underscore because the declaration is marked as @internal
| [@firebase/performance](./performance.md#performance_package) | The Firebase Performance Monitoring Web SDK. This SDK does not work in a Node.js environment. |
28
28
| [@firebase/remote-config](./remote-config.md#remote-config_package) | The Firebase Remote Config Web SDK. This SDK does not work in a Node.js environment. |
29
29
| [@firebase/storage](./storage.md#storage_package) | Cloud Storage for Firebase |
30
-
| [@firebase/vertexai](./vertexai.md#vertexai_package) | The Vertex AI in Firebase Web SDK. |
30
+
| [@firebase/vertexai](./vertexai.md#vertexai_package) | The Firebase AI Web SDK. |
0 commit comments