-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial function calling * working * added sample * changeset * fixed text * removed InputContent interface * fixed validation * reference for docs * addressed comments * copyright and docs * fix
- Loading branch information
Showing
108 changed files
with
2,393 additions
and
517 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@google/generative-ai": minor | ||
--- | ||
|
||
Added support for function calling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...erence/generative-ai.inputcontent.role.md → docs/reference/generative-ai.content.role.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [InputContent](./generative-ai.inputcontent.md) > [role](./generative-ai.inputcontent.role.md) | ||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [Content](./generative-ai.content.md) > [role](./generative-ai.content.role.md) | ||
|
||
## InputContent.role property | ||
## Content.role property | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
role: string; | ||
role: Role; | ||
``` |
11 changes: 11 additions & 0 deletions
11
docs/reference/generative-ai.enhancedgeneratecontentresponse.functioncall.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [EnhancedGenerateContentResponse](./generative-ai.enhancedgeneratecontentresponse.md) > [functionCall](./generative-ai.enhancedgeneratecontentresponse.functioncall.md) | ||
|
||
## EnhancedGenerateContentResponse.functionCall property | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
functionCall: () => FunctionCall | undefined; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionCall](./generative-ai.functioncall.md) > [args](./generative-ai.functioncall.args.md) | ||
|
||
## FunctionCall.args property | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
args: object; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionCall](./generative-ai.functioncall.md) | ||
|
||
## FunctionCall interface | ||
|
||
A predicted \[FunctionCall\] returned from the model that contains a string representing the \[FunctionDeclaration.name\] and a structured JSON object containing the parameters and their values. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
export interface FunctionCall | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Modifiers | Type | Description | | ||
| --- | --- | --- | --- | | ||
| [args](./generative-ai.functioncall.args.md) | | object | | | ||
| [name](./generative-ai.functioncall.name.md) | | string | | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionCall](./generative-ai.functioncall.md) > [name](./generative-ai.functioncall.name.md) | ||
|
||
## FunctionCall.name property | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
name: string; | ||
``` |
11 changes: 11 additions & 0 deletions
11
docs/reference/generative-ai.functioncallpart.functioncall.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionCallPart](./generative-ai.functioncallpart.md) > [functionCall](./generative-ai.functioncallpart.functioncall.md) | ||
|
||
## FunctionCallPart.functionCall property | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
functionCall: FunctionCall; | ||
``` |
11 changes: 11 additions & 0 deletions
11
docs/reference/generative-ai.functioncallpart.functionresponse.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionCallPart](./generative-ai.functioncallpart.md) > [functionResponse](./generative-ai.functioncallpart.functionresponse.md) | ||
|
||
## FunctionCallPart.functionResponse property | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
functionResponse?: never; | ||
``` |
11 changes: 11 additions & 0 deletions
11
docs/reference/generative-ai.functioncallpart.inlinedata.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionCallPart](./generative-ai.functioncallpart.md) > [inlineData](./generative-ai.functioncallpart.inlinedata.md) | ||
|
||
## FunctionCallPart.inlineData property | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
inlineData?: never; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionCallPart](./generative-ai.functioncallpart.md) | ||
|
||
## FunctionCallPart interface | ||
|
||
Content part interface if the part represents FunctionResponse. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
export interface FunctionCallPart | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Modifiers | Type | Description | | ||
| --- | --- | --- | --- | | ||
| [functionCall](./generative-ai.functioncallpart.functioncall.md) | | [FunctionCall](./generative-ai.functioncall.md) | | | ||
| [functionResponse?](./generative-ai.functioncallpart.functionresponse.md) | | never | _(Optional)_ | | ||
| [inlineData?](./generative-ai.functioncallpart.inlinedata.md) | | never | _(Optional)_ | | ||
| [text?](./generative-ai.functioncallpart.text.md) | | never | _(Optional)_ | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionCallPart](./generative-ai.functioncallpart.md) > [text](./generative-ai.functioncallpart.text.md) | ||
|
||
## FunctionCallPart.text property | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
text?: never; | ||
``` |
13 changes: 13 additions & 0 deletions
13
docs/reference/generative-ai.functiondeclaration.description.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionDeclaration](./generative-ai.functiondeclaration.md) > [description](./generative-ai.functiondeclaration.description.md) | ||
|
||
## FunctionDeclaration.description property | ||
|
||
Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
description?: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionDeclaration](./generative-ai.functiondeclaration.md) | ||
|
||
## FunctionDeclaration interface | ||
|
||
Structured representation of a function declaration as defined by the \[OpenAPI 3.0 specification\](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name and parameters. This FunctionDeclaration is a representation of a block of code that can be used as a Tool by the model and executed by the client. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
export declare interface FunctionDeclaration | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Modifiers | Type | Description | | ||
| --- | --- | --- | --- | | ||
| [description?](./generative-ai.functiondeclaration.description.md) | | string | _(Optional)_ Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. | | ||
| [name](./generative-ai.functiondeclaration.name.md) | | string | The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a max length of 64. | | ||
| [parameters?](./generative-ai.functiondeclaration.parameters.md) | | [FunctionDeclarationSchema](./generative-ai.functiondeclarationschema.md) | _(Optional)_ Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionDeclaration](./generative-ai.functiondeclaration.md) > [name](./generative-ai.functiondeclaration.name.md) | ||
|
||
## FunctionDeclaration.name property | ||
|
||
The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a max length of 64. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
name: string; | ||
``` |
30 changes: 30 additions & 0 deletions
30
docs/reference/generative-ai.functiondeclaration.parameters.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionDeclaration](./generative-ai.functiondeclaration.md) > [parameters](./generative-ai.functiondeclaration.parameters.md) | ||
|
||
## FunctionDeclaration.parameters property | ||
|
||
Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
parameters?: FunctionDeclarationSchema; | ||
``` | ||
|
||
## Example | ||
|
||
with 1 required and 1 optional parameter: type: OBJECT properties: | ||
|
||
``` | ||
param1: | ||
type: STRING | ||
param2: | ||
type: INTEGER | ||
required: | ||
- param1 | ||
``` | ||
|
13 changes: 13 additions & 0 deletions
13
docs/reference/generative-ai.functiondeclarationschema.description.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionDeclarationSchema](./generative-ai.functiondeclarationschema.md) > [description](./generative-ai.functiondeclarationschema.description.md) | ||
|
||
## FunctionDeclarationSchema.description property | ||
|
||
Optional. Description of the parameter. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
description?: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionDeclarationSchema](./generative-ai.functiondeclarationschema.md) | ||
|
||
## FunctionDeclarationSchema interface | ||
|
||
Schema for parameters passed to [FunctionDeclaration.parameters](./generative-ai.functiondeclaration.parameters.md)<!-- -->. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
export interface FunctionDeclarationSchema | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Modifiers | Type | Description | | ||
| --- | --- | --- | --- | | ||
| [description?](./generative-ai.functiondeclarationschema.description.md) | | string | _(Optional)_ Optional. Description of the parameter. | | ||
| [properties](./generative-ai.functiondeclarationschema.properties.md) | | { \[k: string\]: [FunctionDeclarationSchemaProperty](./generative-ai.functiondeclarationschemaproperty.md)<!-- -->; } | The format of the parameter. | | ||
| [required?](./generative-ai.functiondeclarationschema.required.md) | | string\[\] | _(Optional)_ Optional. Array of required parameters. | | ||
| [type](./generative-ai.functiondeclarationschema.type.md) | | [FunctionDeclarationSchemaType](./generative-ai.functiondeclarationschematype.md) | The type of the parameter. | | ||
|
15 changes: 15 additions & 0 deletions
15
docs/reference/generative-ai.functiondeclarationschema.properties.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionDeclarationSchema](./generative-ai.functiondeclarationschema.md) > [properties](./generative-ai.functiondeclarationschema.properties.md) | ||
|
||
## FunctionDeclarationSchema.properties property | ||
|
||
The format of the parameter. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
properties: { | ||
[k: string]: FunctionDeclarationSchemaProperty; | ||
}; | ||
``` |
13 changes: 13 additions & 0 deletions
13
docs/reference/generative-ai.functiondeclarationschema.required.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionDeclarationSchema](./generative-ai.functiondeclarationschema.md) > [required](./generative-ai.functiondeclarationschema.required.md) | ||
|
||
## FunctionDeclarationSchema.required property | ||
|
||
Optional. Array of required parameters. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
required?: string[]; | ||
``` |
13 changes: 13 additions & 0 deletions
13
docs/reference/generative-ai.functiondeclarationschema.type.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionDeclarationSchema](./generative-ai.functiondeclarationschema.md) > [type](./generative-ai.functiondeclarationschema.type.md) | ||
|
||
## FunctionDeclarationSchema.type property | ||
|
||
The type of the parameter. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
type: FunctionDeclarationSchemaType; | ||
``` |
13 changes: 13 additions & 0 deletions
13
docs/reference/generative-ai.functiondeclarationschemaproperty.description.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionDeclarationSchemaProperty](./generative-ai.functiondeclarationschemaproperty.md) > [description](./generative-ai.functiondeclarationschemaproperty.description.md) | ||
|
||
## FunctionDeclarationSchemaProperty.description property | ||
|
||
Optional. The description of the property. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
description?: string; | ||
``` |
13 changes: 13 additions & 0 deletions
13
docs/reference/generative-ai.functiondeclarationschemaproperty.enum.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionDeclarationSchemaProperty](./generative-ai.functiondeclarationschemaproperty.md) > [enum](./generative-ai.functiondeclarationschemaproperty.enum.md) | ||
|
||
## FunctionDeclarationSchemaProperty.enum property | ||
|
||
Optional. The enum of the property. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
enum?: string[]; | ||
``` |
13 changes: 13 additions & 0 deletions
13
docs/reference/generative-ai.functiondeclarationschemaproperty.example.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionDeclarationSchemaProperty](./generative-ai.functiondeclarationschemaproperty.md) > [example](./generative-ai.functiondeclarationschemaproperty.example.md) | ||
|
||
## FunctionDeclarationSchemaProperty.example property | ||
|
||
Optional. The example of the property. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
example?: unknown; | ||
``` |
13 changes: 13 additions & 0 deletions
13
docs/reference/generative-ai.functiondeclarationschemaproperty.format.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@google/generative-ai](./generative-ai.md) > [FunctionDeclarationSchemaProperty](./generative-ai.functiondeclarationschemaproperty.md) > [format](./generative-ai.functiondeclarationschemaproperty.format.md) | ||
|
||
## FunctionDeclarationSchemaProperty.format property | ||
|
||
Optional. The format of the property. | ||
|
||
**Signature:** | ||
|
||
```typescript | ||
format?: string; | ||
``` |
Oops, something went wrong.