I queried Google.com with the title question and got this from it’s AI.
======================================================
LLMs do not “store” information in a traditional database [1, 2]. Instead, their knowledge is either permanently baked into their internal parameters (the model’s “brain”) during training, or loaded temporarily into their context window (their “working memory”) during a prompt. [1, 2, 3, 4]
1. The Context Window (Working Memory)
- Standard Models (e.g., GPT-4o, Claude 3.5 Sonnet): Typically hold 128k to 200k tokens, which is roughly 90,000 to 150,000 words (equal to 1 to 2 average-length books). [1, 2, 3]
- Ultra-Long Context Models (e.g., Gemini 1.5/3 Pro): Process up to 1 to 2 million tokens, or roughly 750,000 to 1.5 million words. This allows the AI to “read” hundreds of files or entire code repositories in one go. [1, 2, 3, 4]
2. Internal Memory (Trained Knowledge)
3. External Memory (Databases & RAG)
If you are looking to build an AI system or want to manage a massive amount of your own data, tell me:
- What type of information you need the AI to access (e.g., PDFs, a company website, codebases)
- How much data you estimate you have (in gigabytes or total document count)
I can recommend the best tools or frameworks for setting up your AI storage!
End of AI answer. I just reposted because it’s interesting to me. If you need more info, the blue numbers are links to further info.
All the info above came from Google’s Gemini.
Fred The Submarine Guy Raley
