public String replacePromptIdentity(String body, ResourceDescriptor targetResource) {
        return replaceResourceIdentity(body, targetResource).toString();
    }
Replaces conversation identity and attachment links after it has been copied from one location to another.
Replacing `id` and `folderId` - chat specific and may not be suitable for generic use-case.
Typical use-case: replace attachment links in conversation after publishing.

@param conversationBody   - source conversation body
@param targetResource     - target resource link
@param attachmentsMapping - attachments map (sourceUrl -> targetUrl) to replace
@return conversation body after replacement
server/src/main/java/com/epam/aidial/core/server/service/PublicationUtil.java