Skip to content

Commit faec0e7

Browse files
committed
Add code tags
1 parent 3e7a6b8 commit faec0e7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs-devsite/vertexai.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ export declare enum FunctionCallingMode
267267

268268
| Member | Value | Description |
269269
| --- | --- | --- |
270-
| ANY | <code>&quot;ANY&quot;</code> | Model is constrained to always predicting a function call only. If "allowed\_function\_names" is set, the predicted function call will be limited to any one of "allowed\_function\_names", else the predicted function call will be any one of the provided "function\_declarations". |
271-
| AUTO | <code>&quot;AUTO&quot;</code> | Default model behavior, model decides to predict either a function call or a natural language response. |
270+
| ANY | <code>&quot;ANY&quot;</code> | Model is constrained to always predicting a function call only. If <code>allowed_function_names</code> is set, the predicted function call will be limited to any one of <code>allowed_function_names</code>, else the predicted function call will be any one of the provided <code>function_declarations</code>. |
271+
| AUTO | <code>&quot;AUTO&quot;</code> | Default model behavior; model decides to predict either a function call or a natural language response. |
272272
| NONE | <code>&quot;NONE&quot;</code> | Model will not predict any function call. Model behavior is same as when not passing any function declarations. |
273273

274274
## HarmBlockMethod

packages/vertexai/src/types/enums.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,15 +168,15 @@ export enum FinishReason {
168168
*/
169169
export enum FunctionCallingMode {
170170
/**
171-
* Default model behavior, model decides to predict either a function call
171+
* Default model behavior; model decides to predict either a function call
172172
* or a natural language response.
173173
*/
174174
AUTO = 'AUTO',
175175
/**
176176
* Model is constrained to always predicting a function call only.
177-
* If "allowed_function_names" is set, the predicted function call will be
178-
* limited to any one of "allowed_function_names", else the predicted
179-
* function call will be any one of the provided "function_declarations".
177+
* If `allowed_function_names` is set, the predicted function call will be
178+
* limited to any one of `allowed_function_names`, else the predicted
179+
* function call will be any one of the provided `function_declarations`.
180180
*/
181181
ANY = 'ANY',
182182
/**

0 commit comments

Comments
 (0)