How-to Guide: Mastering Code Generation Efficiency with Context-Aware AI Chat