File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ import android.graphics.Bitmap
24
24
* `Content` is composed of a one or more heterogeneous parts that can be represent data in
25
25
* different formats, like text or images.
26
26
*
27
- * @param role The producer of the content. By default, it's "user".
27
+ * @param role The producer of the content. Must be either 'user' or 'model'. By default, it's
28
+ * "user".
28
29
* @param parts An ordered list of [Part] that constitute this content.
29
30
*/
30
31
public class Content
@@ -39,7 +40,7 @@ constructor(public val role: String? = "user", public val parts: List<Part>) {
39
40
/* * Builder class to facilitate constructing complex [Content] objects. */
40
41
public class Builder {
41
42
42
- /* * The producer of the content. By default, it's "user". */
43
+ /* * The producer of the content. Must be either 'user' or 'model'. By default, it's "user". */
43
44
public var role: String? = " user"
44
45
45
46
/* *
You can’t perform that action at this time.
0 commit comments