# SummarizerOptions.InputType

public static abstract @interface **SummarizerOptions.InputType** implements [Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html) Type of input text.

### Constant Summary

|---|---|---|
| int | [ARTICLE](https://developers.google.com/android/reference/com/google/mlkit/genai/summarization/SummarizerOptions.InputType#ARTICLE) | The input text is an article or long paragraphs. |
| int | [CONVERSATION](https://developers.google.com/android/reference/com/google/mlkit/genai/summarization/SummarizerOptions.InputType#CONVERSATION) | The input text is a conversation. |

### Inherited Method Summary

From interface java.lang.annotation.Annotation

|---|---|
| abstract [Class](https://developer.android.com/reference/java/lang/Class.html)\<? extends [Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)\> | annotationType() |
| abstract boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| abstract int | hashCode() |
| abstract [String](https://developer.android.com/reference/java/lang/String.html) | toString() |

## Constants

#### public static final int
**ARTICLE**

The input text is an article or long paragraphs.
Constant Value: 1

#### public static final int
**CONVERSATION**

The input text is a conversation.

Each line of the text is a message from one participant, in the format of name:
message.

Example:

```
 user1: Hello
 user2: Hi
 user1: How are you?
 user2: Good, how are you?
 
```
Constant Value: 2