trypear / pearai-app

The Open Source AI-Powered Code Editor. A fork of VSCode and Continue.
https://trypear.ai
Other
574 stars 95 forks source link

Figure out design for Codebase Context functionality (RAG) #26

Closed nang-dev closed 2 days ago

nang-dev commented 2 months ago

Context

We need to figure out design for Codebase Context functionality (RAG).

Open to suggestions!

Solution

rufimelo99 commented 3 weeks ago

Prior to this, one thing that you folks will probably need is to define some sort of Query Handlers Interface. The reason for this is that you might decide to use BM25, an encoder or mix any of the possibilities that you will have.

Keep in mind that down the line, you might end up training a small encoder for this domain.

I would say to also think about an interface that would allow you to mix methods freely 🙂

nang-dev commented 2 days ago

Got this with continue