by thot_experiment · 2y ago · 0 comments
A larger context window really helps on RAG tasks, it's frustrating that a lot of the foundational models have such small windows.
However, not all models (especially newer ones) respond well to this, which makes sense. We're working on changing the behavior in Ollama's API to be more similar to OpenAI, Anthropic and similar APIs so that when the context limit is hit, the API returns a "limit" finish/done reason. Hope this is helpful!