Change input format for AI