Using an LLM as a database
Using an LLM as a database: From Wikipedia: "BASE stands for [B]asically [A]vailable, [S]oft state, and [E]ventually consistent: the acronym highlights that BASE is opposite of ACID, like their chemical equivalents. ACID databases prioritize consistency over availability — the whole transaction fails if an error occurs in any step within the transaction; in contrast, BASE databases prioritize availability over consistency: instead of failing the transaction, users can access inconsistent data temporarily: data consistency is achieved, but not immediately." LLMs use context windows to interface between their pre-training and RAG knowledge-bases and the user with whom they are interacting. The context window is soft-state, and it vanishes to nothing when it is no longer needed. That is, after it is either abandoned or filled up to capacity. The BASE approach to databases is the linear opposite, in all four (4) dimensions, from the ACID approach. Nearly all da...