
com.simiacryptus.jopenai.describe.Description.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jo-penai Show documentation
Show all versions of jo-penai Show documentation
A Java client for OpenAI's API
The newest version!
package com.simiacryptus.jopenai.describe
import org.slf4j.LoggerFactory
@Retention(AnnotationRetention.RUNTIME)
annotation class Description(val value: String)
private val logger = LoggerFactory.getLogger("DescriptionLogger")
fun logDescription(description: Description) {
if (logger.isDebugEnabled) {
logger.debug("Description annotation value: ${description.value}")
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy