Skip to content

Commit

Permalink
Convert supported mimetypes to be bullet points (#8270)
Browse files Browse the repository at this point in the history
* Bullet supported mimetypes

* Add empty changeset

* Convert bullets to a single sentence for easier rendering

* remove changeset
  • Loading branch information
dlarocque committed May 30, 2024
1 parent 7c256b4 commit 5e16ccf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs-devsite/vertexai-preview.generationconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface GenerationConfig
| [frequencyPenalty](./vertexai-preview.generationconfig.md#generationconfigfrequencypenalty) | number | |
| [maxOutputTokens](./vertexai-preview.generationconfig.md#generationconfigmaxoutputtokens) | number | |
| [presencePenalty](./vertexai-preview.generationconfig.md#generationconfigpresencepenalty) | number | |
| [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. |
| [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. |
| [stopSequences](./vertexai-preview.generationconfig.md#generationconfigstopsequences) | string\[\] | |
| [temperature](./vertexai-preview.generationconfig.md#generationconfigtemperature) | number | |
| [topK](./vertexai-preview.generationconfig.md#generationconfigtopk) | number | |
Expand Down Expand Up @@ -66,7 +66,7 @@ presencePenalty?: number;

## GenerationConfig.responseMimeType

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.
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.

<b>Signature:</b>

Expand Down
5 changes: 2 additions & 3 deletions packages/vertexai/src/types/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,8 @@ export interface GenerationConfig {
frequencyPenalty?: number;
/**
* Output response mimetype of the generated candidate text.
* Supported mimetype:
* `text/plain`: (default) Text output.
* `application/json`: JSON response in the candidates.
* 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.
Expand Down

0 comments on commit 5e16ccf

Please sign in to comment.