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
Fix languageCode parameter in action_code_url (#8912)
* Fix languageCode parameter in action_code_url
* Add changeset
Vaihi add langmodel types. (#8927)
* Adding LanguageModel types. These are based off https://github.com/webmachinelearning/prompt-api?tab=readme-ov-file#full-api-surface-in-web-idl
* Adding LanguageModel types.
* Remove bunch of exports
* yarn formatted
* after lint
Define HybridParams (#8935)
Co-authored-by: Erik Eldridge <[email protected]>
Adding smoke test for new hybrid params (#8937)
* Adding smoke test for new hybrid params
* Use the existing name of the model params input
---------
Co-authored-by: Erik Eldridge <[email protected]>
Moving to in-cloud naming (#8938)
Co-authored-by: Erik Eldridge <[email protected]>
Moving to string type for the inference mode (#8941)
Define ChromeAdapter class (#8942)
Co-authored-by: Erik Eldridge <[email protected]>
VinF Hybrid Inference: Implement ChromeAdapter (rebased) (#8943)
Adding count token impl (#8950)
VinF Hybrid Inference #4: ChromeAdapter in stream methods (rebased) (#8949)
Define values for Availability enum (#8951)
VinF Hybrid Inference: narrow Chrome input type (#8953)
Add image inference support (#8954)
* Adding image based input for inference
* adding image as input to create language model object
disable count tokens api for on-device inference (#8962)
VinF Hybrid Inference: throw if only_on_device and model is unavailable (#8965)
This is generated by the JS SDK team, and any local changes will be
8
+
overwritten. Changes should be made in the source code at
9
+
https://github.com/firebase/firebase-js-sdk
10
+
{% endcomment %}
11
+
12
+
# Backend class
13
+
Abstract base class representing the configuration for an AI service backend. This class should not be instantiated directly. Use its subclasses [GoogleAIBackend](./vertexai.googleaibackend.md#googleaibackend_class) or [VertexAIBackend](./vertexai.vertexaibackend.md#vertexaibackend_class)<!---->.
This is generated by the JS SDK team, and any local changes will be
8
+
overwritten. Changes should be made in the source code at
9
+
https://github.com/firebase/firebase-js-sdk
10
+
{% endcomment %}
11
+
12
+
# GoogleAIBackend class
13
+
Represents the configuration class for the Google AI backend. Use this with [AIOptions](./vertexai.aioptions.md#aioptions_interface) when initializing the service with [getAI()](./vertexai.md#getai_a94a413)<!---->.
This is generated by the JS SDK team, and any local changes will be
8
+
overwritten. Changes should be made in the source code at
9
+
https://github.com/firebase/firebase-js-sdk
10
+
{% endcomment %}
11
+
12
+
# VertexAIBackend class
13
+
Represents the configuration class for the Vertex AI backend. Use this with [AIOptions](./vertexai.aioptions.md#aioptions_interface) when initializing the server with [getAI()](./vertexai.md#getai_a94a413)<!---->.
| [(constructor)(location)](./vertexai.vertexaibackend.md#vertexaibackendconstructor) | | Creates a configuration object for the Vertex AI backend. |
27
+
28
+
## Properties
29
+
30
+
| Property | Modifiers | Type | Description |
31
+
| --- | --- | --- | --- |
32
+
| [location](./vertexai.vertexaibackend.md#vertexaibackendlocation) | | string | The region identifier. See [Vertex AI locations](https://firebase.google.com/docs/vertex-ai/locations?platform=ios#available-locations) for a list of supported locations. |
33
+
34
+
## VertexAIBackend.(constructor)
35
+
36
+
Creates a configuration object for the Vertex AI backend.
37
+
38
+
<b>Signature:</b>
39
+
40
+
```typescript
41
+
constructor(location?:string);
42
+
```
43
+
44
+
#### Parameters
45
+
46
+
| Parameter | Type | Description |
47
+
| --- | --- | --- |
48
+
| location | string | The region identifier, defaulting to <code>us-central1</code>; see [Vertex AI locations](https://firebase.google.com/docs/vertex-ai/locations?platform=ios#available-locations) for a list of supported locations. |
49
+
50
+
## VertexAIBackend.location
51
+
52
+
The region identifier. See [Vertex AI locations](https://firebase.google.com/docs/vertex-ai/locations?platform=ios#available-locations) for a list of supported locations.
0 commit comments