Glossary · Phase 1 · Building with LLMs
Stateless
Remembering nothing between requests. A model API is stateless, so your code must send the whole conversation every time.
Try it now
Send it. Click "Add a turn" and paste the reply into the new assistant message. Add a user turn saying "Make it shorter", and send again. Then clear the first two boxes, so only "Make it shorter" is sent. Send once more and compare.
Learn it properly
Conversations and memory · APIs are stateless: how chat history and memory really work. About 30 minutes.
Other terms from the same lesson
- long-term memory: Facts an app saves outside the model, such as a user's preferences, and adds back into the prompt in later conversations.
Never trained an AI?
Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.