Package dev.langchain4j.data.message
Interface Content
-
- All Implemented Interfaces:
public interface Content
Abstract base interface for message content.
-
-
Method Summary
Modifier and Type Method Description abstract ContentType
type()
Returns the type of content. -
-
Method Detail
-
type
abstract ContentType type()
Returns the type of content.
Can be used to cast the content to the correct type.
- Returns:
The type of content.
-
-
-
-