def escape_for_query(query_part: str) ->str:
    """Escapes all characters reserved by jriver in a natural string.

    Do not put a complete query in here - this method is used to escape
    reserved characters in a natural string that will be used as a query fragment.
    This is usually the content of a field (e.g. an album or artist name).
    """
    query_part = query_part.replace('"', '/"')
    query_part = query_part.replace('^', '/^')
    query_part = query_part.replace('[', '/[')
    query_part = query_part.replace(']', '/]')
    return query_part
