Skip to content

Commit 251c641

Browse files
committed
Bullet supported mimetypes
1 parent 08a3a93 commit 251c641

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs-devsite/vertexai-preview.generationconfig.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export interface GenerationConfig
2626
| [frequencyPenalty](./vertexai-preview.generationconfig.md#generationconfigfrequencypenalty) | number | |
2727
| [maxOutputTokens](./vertexai-preview.generationconfig.md#generationconfigmaxoutputtokens) | number | |
2828
| [presencePenalty](./vertexai-preview.generationconfig.md#generationconfigpresencepenalty) | number | |
29-
| [responseMimeType](./vertexai-preview.generationconfig.md#generationconfigresponsemimetype) | string | Output response mimetype of the generated candidate text. Supported mimetype: <code>text/plain</code>: (default) Text output. <code>application/json</code>: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. |
29+
| [responseMimeType](./vertexai-preview.generationconfig.md#generationconfigresponsemimetype) | string | Output response mimetype of the generated candidate text. Supported mimetypes: - <code>text/plain</code>: (default) Text output. - <code>application/json</code>: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. |
3030
| [stopSequences](./vertexai-preview.generationconfig.md#generationconfigstopsequences) | string\[\] | |
3131
| [temperature](./vertexai-preview.generationconfig.md#generationconfigtemperature) | number | |
3232
| [topK](./vertexai-preview.generationconfig.md#generationconfigtopk) | number | |
@@ -66,7 +66,7 @@ presencePenalty?: number;
6666

6767
## GenerationConfig.responseMimeType
6868

69-
Output response mimetype of the generated candidate text. Supported mimetype: `text/plain`<!-- -->: (default) Text output. `application/json`<!-- -->: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.
69+
Output response mimetype of the generated candidate text. Supported mimetypes: - `text/plain`<!-- -->: (default) Text output. - `application/json`<!-- -->: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.
7070

7171
<b>Signature:</b>
7272

packages/vertexai/src/types/requests.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ export interface GenerationConfig {
7979
frequencyPenalty?: number;
8080
/**
8181
* Output response mimetype of the generated candidate text.
82-
* Supported mimetype:
83-
* `text/plain`: (default) Text output.
84-
* `application/json`: JSON response in the candidates.
82+
* Supported mimetypes:
83+
* - `text/plain`: (default) Text output.
84+
* - `application/json`: JSON response in the candidates.
8585
* The model needs to be prompted to output the appropriate response type,
8686
* otherwise the behavior is undefined.
8787
* This is a preview feature.

0 commit comments

Comments
 (0)