diff --git a/docs/build/conversations.md b/docs/build/conversations.md index 1f566bddb..ff1e9d94d 100644 --- a/docs/build/conversations.md +++ b/docs/build/conversations.md @@ -362,40 +362,7 @@ val conversations = JSON.parse(loadConversationsFromSomewhere()) val client.importConversation(conversations) ``` - - - -Code sample coming soon - - - - -Code sample coming soon - - - - -Code sample coming soon - - - - -## Serialize/Deserialize conversations - -You can save a conversation object locally using its `encodedContainer` property. This returns a `ConversationContainer` object which conforms to `Codable`. - - - - -Not applicable - - - - -Not applicable - - - +**Serialize/Deserialize conversations**: You can save a conversation object locally using its `encodedContainer` property. This returns a `ConversationContainer` object which conforms to `Codable`. ```kotlin // Get a conversation @@ -419,6 +386,8 @@ decodedConversation.send(text = "hi") +**Serialize/Deserialize conversations**: You can save a conversation object locally using its `encodedContainer` property. This returns a `ConversationContainer` object which conforms to `Codable`. + ```swift // Get a conversation let conversation = try await client.conversations.newConversation(