Skip to content

Commit

Permalink
v19
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdaniels committed Nov 19, 2024
1 parent 94e57c6 commit da7fcff
Show file tree
Hide file tree
Showing 21 changed files with 6,519 additions and 8,536 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ import { } from '@angular/fire/app-check';
<tr>
<td>

#### [Vertex AI](docs/vertexai.md#vertex-ai-preview)
#### [Vertex AI](docs/vertexai.md#vertex-ai)
```ts
import { } from '@angular/fire/vertexai-preview';
import { } from '@angular/fire/vertexai';
```
</td>

Expand Down
6 changes: 3 additions & 3 deletions docs/vertexai.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Next inject `VertexAI` into your component:

```typescript
import { Component, inject } from '@angular/core';
import { VertexAI } from '@angular/fire/vertexai-preview';
import { VertexAI } from '@angular/fire/vertexai';

@Component({ ... })
export class MyComponent {
Expand All @@ -48,6 +48,6 @@ export class MyComponent {

AngularFire wraps the Firebase JS SDK to ensure proper functionality in Angular, while providing the same API.

Update the imports from `import { ... } from 'firebase/vertexai-preview'` to `import { ... } from '@angular/fire/vertexai-preview'` and follow the official documentation.
Update the imports from `import { ... } from 'firebase/vertexai'` to `import { ... } from '@angular/fire/vertexai'` and follow the official documentation.

[Getting Started](https://firebase.google.com/docs/vertex-ai/get-started?platform=web) | [API Reference](https://firebase.google.com/docs/reference/js/vertexai-preview)
[Getting Started](https://firebase.google.com/docs/vertex-ai/get-started?platform=web) | [API Reference](https://firebase.google.com/docs/reference/js/vertexai)
Loading

0 comments on commit da7fcff

Please sign in to comment.