Enum Class的使用
dev.langchain4j.data.message.ContentType
使用ContentType的程序包
-
dev.langchain4j.data.message中ContentType的使用
修饰符和类型方法说明Content.type()Returns the type of content.ImageContent.type()TextContent.type()static ContentTypeReturns the enum constant of this class with the specified name.static ContentType[]ContentType.values()Returns an array containing the constants of this enum class, in the order they are declared.