fromJavaInstant
fun RequestMetaInfo.Companion.fromJavaInstant(timestamp: Instant, metadata: JsonObject? = null): RequestMetaInfo(source)
Creates a RequestMetaInfo with a java.time.Instant timestamp.
fun ResponseMetaInfo.Companion.fromJavaInstant(timestamp: Instant, totalTokensCount: Int? = null, inputTokensCount: Int? = null, outputTokensCount: Int? = null, metadata: JsonObject? = null): ResponseMetaInfo(source)
Creates a ResponseMetaInfo with a java.time.Instant timestamp.