Skip to content

Commit 0605925

Browse files
davidmotsonDavid Motsonashvili
and
David Motsonashvili
authored
update vertex javadocs to match what's live (#6149)
Co-authored-by: David Motsonashvili <[email protected]>
1 parent 99a9d93 commit 0605925

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/GenerationConfig.kt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ package com.google.firebase.vertexai.type
2525
* @property candidateCount The max *unique* responses to return
2626
* @property maxOutputTokens The max tokens to generate per response
2727
* @property stopSequences A list of strings to stop generation on occurrence of
28-
* @property responseMimeType Response type for generated candidate text. See the
29-
* [vertex docs](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/GenerationConfig)
28+
* @property responseMimeType Response MIME type for the generated candidate text. For a list of
29+
* supported response MIME types, see the
30+
* [Vertex AI documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/GenerationConfig#FIELDS.response_mime_type)
3031
* for a list of supported types.
3132
* @property responseSchema A schema that the response must adhere to, used with the
32-
* `application/json` mimeType.
33+
* `application/json` MINE type.
3334
*/
3435
class GenerationConfig
3536
private constructor(
@@ -55,7 +56,6 @@ private constructor(
5556
* @property candidateCount The max *unique* responses to return
5657
* @property maxOutputTokens The max tokens to generate per response
5758
* @property stopSequences A list of strings to stop generation on occurrence of
58-
*
5959
* @see [generationConfig]
6060
*/
6161
class Builder {
@@ -78,15 +78,14 @@ private constructor(
7878
maxOutputTokens = maxOutputTokens,
7979
stopSequences = stopSequences,
8080
responseMimeType = responseMimeType,
81-
responseSchema = responseSchema
81+
responseSchema = responseSchema,
8282
)
8383
}
8484

8585
companion object {
8686

8787
/**
8888
* Alternative casing for [GenerationConfig.Builder]:
89-
*
9089
* ```
9190
* val config = GenerationConfig.builder()
9291
* ```

0 commit comments

Comments
 (0)