mirror of
https://github.com/hanzoai/firebase-js-sdk.git
synced 2026-09-24 16:59:10 +00:00
88 lines
2.7 KiB
Markdown
88 lines
2.7 KiB
Markdown
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 %}
|
|
|
|
# LiveModelParams interface
|
|
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
>
|
|
|
|
Params passed to [getLiveGenerativeModel()](./ai.md#getlivegenerativemodel_f2099ac)<!-- -->.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export interface LiveModelParams
|
|
```
|
|
|
|
## Properties
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [generationConfig](./ai.livemodelparams.md#livemodelparamsgenerationconfig) | [LiveGenerationConfig](./ai.livegenerationconfig.md#livegenerationconfig_interface) | <b><i>(Public Preview)</i></b> |
|
|
| [model](./ai.livemodelparams.md#livemodelparamsmodel) | string | <b><i>(Public Preview)</i></b> |
|
|
| [systemInstruction](./ai.livemodelparams.md#livemodelparamssysteminstruction) | string \| [Part](./ai.md#part) \| [Content](./ai.content.md#content_interface) | <b><i>(Public Preview)</i></b> |
|
|
| [toolConfig](./ai.livemodelparams.md#livemodelparamstoolconfig) | [ToolConfig](./ai.toolconfig.md#toolconfig_interface) | <b><i>(Public Preview)</i></b> |
|
|
| [tools](./ai.livemodelparams.md#livemodelparamstools) | [Tool](./ai.md#tool)<!-- -->\[\] | <b><i>(Public Preview)</i></b> |
|
|
|
|
## LiveModelParams.generationConfig
|
|
|
|
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
>
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
generationConfig?: LiveGenerationConfig;
|
|
```
|
|
|
|
## LiveModelParams.model
|
|
|
|
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
>
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
model: string;
|
|
```
|
|
|
|
## LiveModelParams.systemInstruction
|
|
|
|
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
>
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
systemInstruction?: string | Part | Content;
|
|
```
|
|
|
|
## LiveModelParams.toolConfig
|
|
|
|
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
>
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
toolConfig?: ToolConfig;
|
|
```
|
|
|
|
## LiveModelParams.tools
|
|
|
|
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
>
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
tools?: Tool[];
|
|
```
|