createObjectMapper

@Contract(pure = true)
fun createObjectMapper(): ObjectMapper

Returns an ObjectMapper instance with the default OpenAI adapters registered. This can be used to save conversations (and other data) to file.