How to use ai for wright loss