Skip to content

Commit 781e377

Browse files
committed
docs review
1 parent 3f1a4be commit 781e377

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

docs-devsite/ai.livegenerationconfig.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface LiveGenerationConfig
2727
| --- | --- | --- |
2828
| [candidateCount](./ai.livegenerationconfig.md#livegenerationconfigcandidatecount) | number | <b><i>(Public Preview)</i></b> The maximum number of generated response messages to return. This value must be between 1 and 8. If unset, this will default to 1. |
2929
| [frequencyPenalty](./ai.livegenerationconfig.md#livegenerationconfigfrequencypenalty) | number | <b><i>(Public Preview)</i></b> Frequency penalties. |
30-
| [maxOutputTokens](./ai.livegenerationconfig.md#livegenerationconfigmaxoutputtokens) | number | <b><i>(Public Preview)</i></b> Specifies the maximum number of tokens that can be generated in the response. The number of tokens per word varies depending on the language outputted. Defaults to 0. |
30+
| [maxOutputTokens](./ai.livegenerationconfig.md#livegenerationconfigmaxoutputtokens) | number | <b><i>(Public Preview)</i></b> Specifies the maximum number of tokens that can be generated in the response. The number of tokens per word varies depending on the language outputted. Is unbounded by default. |
3131
| [presencePenalty](./ai.livegenerationconfig.md#livegenerationconfigpresencepenalty) | number | <b><i>(Public Preview)</i></b> Positive penalties. |
3232
| [responseModalities](./ai.livegenerationconfig.md#livegenerationconfigresponsemodalities) | \[[ResponseModality](./ai.md#responsemodality)<!-- -->\] | <b><i>(Public Preview)</i></b> The modalities of the response. |
3333
| [speechConfig](./ai.livegenerationconfig.md#livegenerationconfigspeechconfig) | [SpeechConfig](./ai.speechconfig.md#speechconfig_interface) | <b><i>(Public Preview)</i></b> Configuration for speech synthesis. |
@@ -66,7 +66,7 @@ frequencyPenalty?: number;
6666
> This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
6767
>
6868

69-
Specifies the maximum number of tokens that can be generated in the response. The number of tokens per word varies depending on the language outputted. Defaults to 0.
69+
Specifies the maximum number of tokens that can be generated in the response. The number of tokens per word varies depending on the language outputted. Is unbounded by default.
7070

7171
<b>Signature:</b>
7272

docs-devsite/ai.prebuiltvoiceconfig.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface PrebuiltVoiceConfig
2525

2626
| Property | Type | Description |
2727
| --- | --- | --- |
28-
| [voiceConfig](./ai.prebuiltvoiceconfig.md#prebuiltvoiceconfigvoiceconfig) | string | <b><i>(Public Preview)</i></b> The voice name to use for speech synthesis.<!-- -->See https://cloud.google.com/text-to-speech/docs/chirp3-hd for names and sound demos. |
28+
| [voiceConfig](./ai.prebuiltvoiceconfig.md#prebuiltvoiceconfigvoiceconfig) | string | <b><i>(Public Preview)</i></b> The voice name to use for speech synthesis.<!-- -->For a full list of names and demos of what each voice sounds like, see [Chirp 3: HD Voices](https://cloud.google.com/text-to-speech/docs/chirp3-hd)<!-- -->. |
2929

3030
## PrebuiltVoiceConfig.voiceConfig
3131

@@ -34,7 +34,7 @@ export interface PrebuiltVoiceConfig
3434

3535
The voice name to use for speech synthesis.
3636

37-
See https://cloud.google.com/text-to-speech/docs/chirp3-hd for names and sound demos.
37+
For a full list of names and demos of what each voice sounds like, see [Chirp 3: HD Voices](https://cloud.google.com/text-to-speech/docs/chirp3-hd)<!-- -->.
3838

3939
<b>Signature:</b>
4040

packages/ai/src/types/requests.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export interface LiveGenerationConfig {
147147
candidateCount?: number;
148148
/**
149149
* Specifies the maximum number of tokens that can be generated in the response. The number of
150-
* tokens per word varies depending on the language outputted. Defaults to 0.
150+
* tokens per word varies depending on the language outputted. Is unbounded by default.
151151
*/
152152
maxOutputTokens?: number;
153153
/**
@@ -372,8 +372,7 @@ export interface PrebuiltVoiceConfig {
372372
/**
373373
* The voice name to use for speech synthesis.
374374
*
375-
* See https://cloud.google.com/text-to-speech/docs/chirp3-hd for names and
376-
* sound demos.
375+
* For a full list of names and demos of what each voice sounds like, see {@link https://cloud.google.com/text-to-speech/docs/chirp3-hd | Chirp 3: HD Voices}.
377376
*/
378377
voiceConfig?: string;
379378
}

0 commit comments

Comments
 (0)