THUDM / CodeGeeX4

CodeGeeX4-ALL-9B, a versatile model for all AI software development scenarios, including code completion, code interpreter, web search, function calling, repository-level Q&A and much more.
https://codegeex.cn
Apache License 2.0
1.5k stars 117 forks source link

代码补全如何关联现有项目 #43

Open XTUxiongda opened 4 months ago

XTUxiongda commented 4 months ago

代码补全出来的代码有时候是根本不存在的方法,如何关联现有项目已有的方法?

Stanislas0 commented 3 months ago

请参考这个教程,可以把项目中其他文件的信息加入到prompt中:https://github.com/THUDM/CodeGeeX4/blob/main/guides/Infilling_guideline_zh.md