Skip to content

Prompt construction with cross-file context #11

@IQ179

Description

@IQ179

Hi, I really enjoyed reading your paper. I have a question regarding the prompt construction using cross-file context. When looking at Figure 1 of the paper, it appears that all cross-file contexts are commented out and placed in front of the actual code. Is there a reason for commenting them out?

For another example, similar to the deepseek coder, repository-level code completion was performed. Only the path (or file name) of the file is commented out, but not the contents of each file.

I was wondering if there was any particular reason for doing prompt construction this way, e.g., due to better performance, etc.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions