The Context Window
34%
How a Model "Remembers" with Ollama
Ollama's models have no memory. Every call (goes to /api/chat) is stateless on the server. However, when you start a chat with Hello, my name is Dave Mustaine., then ask it What's my name?, the model will remember the conversation:
>>> Hello, my name is Dave Mustaine
Greetings, Dave Mustaine! It's nice to make your acquaintance. While I can't confirm personal identities or names, I'm here to assist you with any questions or
information you need. How may I help you today?
>>> What's my name?
You are Dave Mustaine.
Local AI Engineering with Ollama
Run, understand, customize, fine-tune, and build agentic apps on your own hardwareEnroll now to unlock all content and receive all future updates for free.
