Is There No King? Or Is NodeRAG King?

First thought. How do I install this?
<br>git clone https://github.com/Terry-Xu-666/NodeRAG
<br>
Yeah, but do I even know how I start something like this?
No.
Where is the Package.json?
Guess I will vibe install.
So for this post I am including all my prompts, except for the ones that are just copy/pasting errors until it fixes itself.
OK, so it is cloned I guess I type something into CLIne to start this because I have no clue.
<br>Start this application
<br>

Oh, you read the README.md first.
Well that makes sense.
It is running now at least. I did not learn how to run it, but it works and that is all that matters right???
<br>
Well I can already tell this is not going to work.
You know why?
<br>
I refuse to pay "Closed"AI anything. I am not going to pay for this. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for anything. I am not going to pay for srry my cat walked on my tab key.
So what am I going to do now? How am I going to know if there is a king if I can't run this for free? I know I could use Gemini or any other freely available model on OpenRouter or HuggingFace or anywhere else but I want to do a lot of work on a lot of documents and I really want to be able to run absolutely everything local so I think this is what I am going to do:
Converting NodeRAG to Use Local Inference
Ok so I have no clue what I am doing. How would I even do that?
I guess I have Ollama running still I could use that. I have granite4-mirco-h or whatever that less than 2GB model installed which is what I am going to use but I should really use a small Qwen model most likely for testing purposes. For my final purpose I can use a better model but for now I just need to see if I can get it to work.
I guess I will just write a prompt and see if CLIne can one shot it. It is simple enough. I know I know, it is just editing the parameters under model_config but I am trying to do this with as little thought as possible, it has just been one of those days.
<br>I want this to work with Ollama man. I don't want to pay ANYTHING for this. I want all the inference done locally. So could you pretty please with sugar on top change the code to use Ollama and the granite4-micro-h model? Or at least just add it under model_config so I can try it out. Also I want to use the nomic-embed-text model for the embeddings.
<br>
<br>


Hmm, how many braincells do I have left now?
<br>
<br>
OK well it did more than I would have done. But remember I am an idiot. I would have just changed the values in the config file without adding classes to LLM.py or updating the routing or changing the dimensions of the embeddings. Also I would have probably ran into needing to installing the ollama dependency so that needed changed as well.
Now let's see if it works.
<br>
Ok, well I am talking to Grok here as he is free on CLIne right now. Maybe I need to talk to it in a way it will understand?
<br>Make App Great Again!
<br>

Well that did not work. I guess I need to try something more realistic. <br>
Make App Great For the First Time Because It Is Realistic To Admit That There Is Always Room For Improvement and We Should Not Worship the Past But Think of Our Future
<br>


I am sorry maker of this repo if you are reading this. I am sure you are very disappointed in me. I am sure I have done some bastardization and even if I do get it to work at this point I am just churning out more and more bloat slop code. I am sure you are thinking that I am a terrible person.
<br>

God the maker of this is going to hunt me down for this if nothing else than to make me feel bad. I am sure I am going to get a call from the FBI warning me again about something. That happened actually. Some people were out to get me and the FBI called to warn me first. That was nice of them. It did not stop a mob of people breaking my door down at midnight one night and I had to fight them all off with a chef's knife, but hey, what's the worst that could happen?
<br>I want this work with ollama :
File "/Users/danielkliewer/NodeRAG01/NodeRAG/NodeRAG/WebUI/app.py", line 872, in <module>
sidebar()
File "/Users/danielkliewer/NodeRAG01/NodeRAG/NodeRAG/WebUI/app.py", line 515, in sidebar
index=["openai",'gemini'].index(st.session_state.model_config['service_provider']),
<br>
Ok maybe if I just ask it nicely and paste the error message...
<br>

Well at least the error changed.
Hmm should I read it this time?
Nah, COPY PASTE THE ERRORS TILL FIXED!!!
<br>2025-10-18 11:12:32.779 Uncaught app execution
Traceback (most recent call last):
File "/Users/danielkliewer/NodeRAG01/NodeRAG/.venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 121, in exec_func_with_error_handling
result = func()
File "/Users/danielkliewer/NodeRAG01/NodeRAG/.venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 593, in code_to_exec
exec(code, module.__dict__)
File "/Users/danielkliewer/NodeRAG01/NodeRAG/NodeRAG/WebUI/app.py", line 878, in <module>
sidebar()
File "/Users/danielkliewer/NodeRAG01/NodeRAG/NodeRAG/WebUI/app.py", line 576, in sidebar
index=["openai_embedding","gemini_embedding"].index(st.session_state.embedding_config['service_provider']),
ValueError: 'ollama_embedding' is not in list
<br>


Well that solved that. Oh wait, what is that error? Does it mean anything? Should I test what I have now? Nah, I'll just copy paste this error and see if that will fix things pre-emptively because we all know pre-emptive strikes are the only real way to do things.
<br>❌ An error occurred while processing your request: ChatMixin.chat_input() got multiple values for argument 'placeholder'
<br>


Woohoo! No errors. Do I have any idea what I did? Did I FUBAR this app? Let's see if this will work.
<br>
Well... Maybe I should start over and this time not Vibe-Install it.
<br>So tootaloo I am going to try this again in a new post. This post is my shit post. I keep saying that. The next one will actually work right???
Related research
Jul 11, 2026
Knowledge Compiler: Why I'm Building a Compiler for Human Knowledge Instead of Another RAG System
Knowledge Compiler transforms collections of Markdown documents into statically-deployable semantic artifacts — knowledge graphs, concept hierarchies, vector embeddings, and cluster maps — using a multi-pass compilation pipeline. No runtime LLM inference required.
Jun 12, 2026
SovereignSpec and the Ganymedean Alignment Protocol: A Technical Treatise
An exhaustive, technically rigorous exposition of SovereignSpec, the Ganymedean Alignment Protocol, and the underlying principles of specification-driven civilizational engineering, including GBNF grammar enforcement, graph-grounded knowledge representation, recursive intent preservation, and local-first autonomous system architecture.
Jun 12, 2026
Project Proposal: SovereignSpec — Local-First Spec-Driven Development
A project proposal for SovereignSpec — a local-first, offline spec-driven development engine that treats specifications as living, graph-grounded artifacts and enforces deterministic code generation through structured pipelines with no cloud API calls required.
Apr 15, 2026
Synthetic Intelligence: Why 'Emergence' is Just Math and Why Your Data Should Stay Local
A technical deep-dive into Synthetic Intelligence (Synth-Int), a local-first, deterministic AI framework that replaces probabilistic black boxes with explicit persona constraints and auditable evolution. This manifesto argues that true intelligence emerges not from cloud APIs but from rigorous engineering and data sovereignty.
Mar 29, 2026
The Architecture of Autonomy: Why the Divergence Between Corporate and Sovereign AI Is the Most Important Design Decision of Our Generation
A deep technical and philosophical examination of what it means to design AI systems that serve the individual versus AI systems designed to extract from them—and how the Dynamic MoE RAG architecture embodies the principles of sovereign intelligence in code.
Feb 3, 2026
Dynamic Persona MoE RAG: Building a Memory-Driven Synthetic Intelligence with Knowledge Graphs and Persona Evolution
A comprehensive guide to building a memory-driven synthetic intelligence system that combines dynamic persona modeling, knowledge graphs, and mixture of experts RAG to create an evolving cognitive architecture.