configure rest service for price prediction