adds prompt attributed string