Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.52 KB

vertexai.hybridparams.md

File metadata and controls

57 lines (39 loc) · 1.52 KB

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

HybridParams interface

Toggles hybrid inference.

Signature:

export interface HybridParams 

Properties

Property Type Description
inCloudParams ModelParams Optional. Specifies advanced params for in-cloud inference.
mode InferenceMode Specifies on-device or in-cloud inference. Defaults to prefer on-device.
onDeviceParams LanguageModelCreateOptions Optional. Specifies advanced params for on-device inference.

HybridParams.inCloudParams

Optional. Specifies advanced params for in-cloud inference.

Signature:

inCloudParams?: ModelParams;

HybridParams.mode

Specifies on-device or in-cloud inference. Defaults to prefer on-device.

Signature:

mode: InferenceMode;

HybridParams.onDeviceParams

Optional. Specifies advanced params for on-device inference.

Signature:

onDeviceParams?: LanguageModelCreateOptions;