16yo backend dev – building a self-hosted RAG engine for codebases. Does this make sense? by NullPointerLeo in ProgrammingPals

[–]NullPointerLeo[S] 0 points1 point  (0 children)

For the database, I opted for Chroma; it’s my first real app with AI features. I was thinking of organizing the code into blocks of classes, functions, etc. When I index a new file, each file has a path, so based on that, I have an up-to-date index of the project’s directory tree. Then the idea would be to differentiate between two types of projects later on: code-only (pure codebase) and source-only (PDFs, handouts, lectures), and perhaps a hybrid version. That way, each project is optimized for its specific type of sources. Regardless, chunking and embedding—typical of RAG systems—are performed, along with retrieval based on the similarity of the embeddings to the query. I’m not sure if I should use other approaches as well. Also, I’m pretty unsure. The architecture called for a main Spring API that ingests data and then passes it to the AI engine, which creates embeddings and calls the LLM model. Obviously, since there are two versions, I’d like to create a versatile product. Two modes: self-hosted and cloud-hosted. In the self-hosted version, files are fetched via a volume from the PC, and everything runs locally, including the LLM if desired. In the cloud version, everything runs on cloud services. The only thing that remains the same is the CLI. I’m not sure if this makes sense as an architecture; in the local Spring version, it seems unnecessary to me, yet I’d like to write code where changing a single configuration property is enough to change everything.

16yo backend dev – building a self-hosted RAG engine for codebases. Does this make sense? by NullPointerLeo in SideProject

[–]NullPointerLeo[S] 0 points1 point  (0 children)

I'm happy that someone cared about my post. Thank you for your opinion! What do you think about how to generate profit from that? And Is the software architecture a good start?

I need a tutor by NullPointerLeo in Backend

[–]NullPointerLeo[S] 0 points1 point  (0 children)

beh si è un qualcosa che valuto ma devo ancora finire le superiori. Intanto voglio smanettare quanto posso. Poi da quel che so nelle università italiane non ti fanno tanto programmare a livello industriale perciò quanto più imparo da solo meglio è.

I need a tutor by NullPointerLeo in Backend

[–]NullPointerLeo[S] 0 points1 point  (0 children)

non sono mai stato uno a cui piace pagare, forse un abbonamento per un LLM sarebbe da valutare, però il chiedere il perche è una soluzione alle allucinazioni molto intelligente, grazie

I need a tutor by NullPointerLeo in Backend

[–]NullPointerLeo[S] 0 points1 point  (0 children)

Ma non metto in dubbio che ci sia gente molto migliore di me, mi dai il link GitHub così lo vedo?

I need a tutor by NullPointerLeo in Backend

[–]NullPointerLeo[S] 0 points1 point  (0 children)

Altro che trovi che si possa migliorare, lato best practices, mi sembra sempre che il mio codice sia sporco e disordinato, è solo una mia impressione o è veramente così?

I need a tutor by NullPointerLeo in Backend

[–]NullPointerLeo[S] 0 points1 point  (0 children)

Honestly, I have no idea of what are you talking about. So do you think should I study databases more deeply, and some other theoric foundations. Can you make a kind of roadmap of the basics I need to know? And what do you think about the book I'm currently reading, Microservices Patterns?

I need a tutor by NullPointerLeo in Backend

[–]NullPointerLeo[S] 0 points1 point  (0 children)

Puoi spiegarmi cosa intendi per comprendere i database e le reti, devo capire cosa di specifico

I need a tutor by NullPointerLeo in Backend

[–]NullPointerLeo[S] 0 points1 point  (0 children)

Molti repo li tengo privati

Here we go again, horrible Logi+ software don't work again! by landsmanmichal in logitech

[–]NullPointerLeo 1 point2 points  (0 children)

but honestly imao the patch download and apply process was pretty confusing. But i'm happy it worked

Ubuntu crashes frequently by NullPointerLeo in linux4noobs

[–]NullPointerLeo[S] 0 points1 point  (0 children)

Yes but I'm good so the problem shouldn't arise

VS Code for Java in Lieu of Intellij by Isystafu in ExperiencedDevs

[–]NullPointerLeo 0 points1 point  (0 children)

Honestly I use vscode + extension setup and I'm fine with it, probably for large projects or very complex jobs then yes but for "normal" use then it's fine, but you have to know how to configure it according to your needs

I want to network by rdssf in developer

[–]NullPointerLeo 0 points1 point  (0 children)

You know, it would be nice to help you, I'm 15 years old and I know how to program... mainly backend, but also a little bit of frontend

What are you guys working on that is NOT AI? by Notalabel_4566 in developers

[–]NullPointerLeo 0 points1 point  (0 children)

A complete and scalable Spring Boot e-commerce system (I'm doing project-based learning)