ChatMessage, but it should not be used in any
of langchain4j's classes or algorithms as langchain4j does not support adding new message types.
The primary use of this class is to be stored in a chat history and displayed in the UI.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public dev. |
| text | back to summary |
|---|---|
| pack-priv String text | |
| ErrorMessage | back to summary |
|---|---|
| public ErrorMessage(String text) | |
| getText | back to summary |
|---|---|
| public String getText() | |
| type | back to summary |
|---|---|
| public dev. | |