AI RESEARCH
To See is Not to Master: Teaching LLMs to Use Private Libraries for Code Generation
arXiv CS.AI
•
ArXi:2603.15159v1 Announce Type: cross Large Language Models (LLMs) have shown strong potential for code generation, yet they remain limited in private-library-oriented code generation, where the goal is to generate code using APIs from private libraries. Existing approaches mainly rely on retrieving private-library API documentation and injecting relevant knowledge into the context at inference time. However, our study shows that this is insufficient: even given accurate required knowledge, LLMs still struggle to invoke private-library APIs effectively.