This document proposes a novel approach to API recommendation that leverages a knowledge graph (KG) and large language model (LLM). Existing approaches have limitations around out-of-vocabulary terms and limited clarification knowledge. The proposed approach uses an "AI chain" consisting of 5 steps: 1) understanding intent with LLM; 2) retrieving related entities from KG; 3) extracting optimal clarification path from KG; 4) clarifying intent through LLM-guided dialogue; 5) recommending APIs. It aims to address limitations by leveraging structured KG relationships to guide the LLM and improve accuracy, efficiency and fluency of clarifying queries for API recommendation. The approach is evaluated on its effectiveness in clarifying