ai notes: search part 1 and part 2