Making the Most of Small Context Windows in Local LLMs 0 ▲ Alex Kirk 1 day ago · Tech · hide Helping local LLMs cope with limited context windows. I maintain a WordPress plugin called AI Assistant (which you can try at my.wordpress.net) that allows you to work with your WordPress using local LLMs. This also works when your WordPress site is hosted elsewhere: while typical implementations of local AI in WordPress expect the site to be on your localhost so that it can talk to the LLM server-side, AI Assistant runs in JavaScript. This allows it to use browser-side HTTP requests to localhost to talk to LM Studio or Ollama. While AI Assistant supports talking to cloud providers through WordPress’s AI Connectors, I wanted to make it work well with local LLMs, which comes with their own challenges. An important one is the relatively small context window. Local LLMs often run on hardware that simply doesn’t have as much memory as the servers running models in the cloud. The larger the context window, the more memory the model needs. So even if a model supports a large context window,… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town