High-quality code generator based on LangChain