Skip to content

Commit 5e16ccf

Browse files
authored
Convert supported mimetypes to be bullet points (#8270)
* Bullet supported mimetypes * Add empty changeset * Convert bullets to a single sentence for easier rendering * remove changeset
1 parent 7c256b4 commit 5e16ccf

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

docs-devsite/vertexai-preview.generationconfig.md

+2-2
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 are <code>text/plain</code> (default, text output) and <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 are `text/plain` (default, text output) and `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

+2-3
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,8 @@ 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 are `text/plain` (default, text output) and `application/json`
83+
* (JSON response in the candidates).
8584
* The model needs to be prompted to output the appropriate response type,
8685
* otherwise the behavior is undefined.
8786
* This is a preview feature.

0 commit comments

Comments
 (0)