Zzhiter
V2EX  ›  OpenAI

现在的好多都是大模型理解单个代码片段/文件的,有没有那种理解整个代码库的?

  •  
  •   Zzhiter · May 25, 2024 · 2723 views
    This topic created in 718 days ago, the information mentioned may be changed or developed.

    如题,想知道有没有什么工具可以理解整个代码库,代码库量级不用很大,应该会涉及到一些 code context search + prompt 方面的工作。

    下游任务:

    • 基于这个代码理解,可以进行一些代码语义上的 search
    • 更好的单测生成
    • 更好的代码自动推荐
    7 replies    2024-05-27 10:36:10 +08:00
    xhawk
        1
    xhawk  
       May 25, 2024 via Android
    这个似乎是个需求,的确有人专业的解读某个 GitHub 库
    yanbo92
        2
    yanbo92  
       May 25, 2024 via iPhone
    R4rvZ6agNVWr56V0
        3
    R4rvZ6agNVWr56V0  
       May 25, 2024   ❤️ 2
    搜索:Chat with Github using LangChain, OpenAI, ChatGPT and Pinecone
    或者参考: https://drive.google.com/file/d/11pXxCplmpfAg42xpdKmnHJfAfhFyFUwh/view
    自己动手丰衣足食
    mogita
        4
    mogita  
       May 25, 2024   ❤️ 1

    据说 Copilot 已经支持解析整个仓库了
    secondwtq
        5
    secondwtq  
       May 26, 2024   ❤️ 1
    Copilot 不知道,但是 Codeium 有类似的东西:
    codeium.com/blog/context-aware-everything-more-advanced-realtime-context-than-github-copilot Context Aware Everything: More Advanced Realtime Context than GitHub Copilot
    codeium.com/blog/codeium-context-pinning-launch Context Pinning
    codeium.com/blog/personalization-context-awareness-vs-customer-specific-finetuning Personalization: Context Awareness vs Customer-Specific Finetuning
    codeium.com/blog/user-personalization-for-llms User Personalization, the Next Frontier in LLMs

    感觉主要还是 RAG 变体,结合代码库中的一些固定结构
    Zzhiter
        6
    Zzhiter  
    OP
       May 26, 2024
    @yanbo92 这个 bot 之前见过,感觉很厉害,感觉更偏向于自动化的 issue 解决
    hlsx
        7
    hlsx  
       May 27, 2024
    bloom/sweep
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1153 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 23:23 · PVG 07:23 · LAX 16:23 · JFK 19:23
    ♥ Do have faith in what you're doing.