Pre-Classify Tasks for Better ChatGPT Completions