Hello.

I have seen some academic papers about semantic search done with Neural Networks. These existed before LLMs were a thing. So I’m wondering. Do you know a tool which automatically indexes a codebase? So for the project developers, it’ll be easier to find out where everything is. The tool should obviously know about the APIs and also it should recognize the programming language syntax.

Something like a graph of entities in the codebase. Like classes, methods, functions, constants and so on.

  • Jayjader@jlai.lu
    link
    fedilink
    arrow-up
    4
    ·
    10 days ago

    https://github.com/colbymchenry/codegraph might approach what you’re looking for. I’ve tried tokensave, a reimplementation in rust, and it seems to work ok when it comes to a semantic search over a code base (albeit it seems almost entirely genAI-coded so I’m reluctant to outright recommend it).

    • FarooqOP
      link
      fedilink
      arrow-up
      1
      ·
      10 days ago

      Thanks. But I want more than just a callgraph.