Index Ai Academy
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.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write