How to print the NL Analysis (Code) in message box in chat or extarct a specific value from it

Want to print the whole code or extract a specific value from it
to filter the further result
values like in ml extract [ entityNERConfidenceScore , Value ]