FloorMemory APIs — At a Glance (Simple Version)#
FloorMemory APIs help you build AI assistants that remember things.You organize knowledge into Floors, structure that knowledge using Blocks, and then let users chat with it — with memory that persists over time.
The Simple Mental Model#
User talks → AI answers → Memory is saved → Next question feels smarter
What Is a Floor?#
A Floor is a knowledge space.Each Floor has its own content, conversations, and memory.When a Floor is created, xFloor automatically:creates a default Block inside it
You can start adding content immediately.
What Is a Block?#
A Block is a content category inside a Floor.Blocks help organize what kind of content lives in a Floor — not who uses it.Floor = the knowledge space
Block = a section inside that space
Examples of Blocks inside a single Floor:
Default Block (Important for First-Time Users)#
Every Floor comes with a default Block.You do not need to create a Block manually
You can start using Create Event right away
All content can go into the default Block initially
👉 Blocks are optional structure, not mandatory setup.
❓ Do I Need Blocks?#
Short answer:
👉 No. Not at the beginning.You can build a fully working AI assistant without thinking about Blocks at all.Follow-up questions still feel natural
Blocks only become useful when your content grows and you want better organization.
Floor + Block Together (Mental Model)#
Floor (Knowledge Space)
├── Default Block (auto-created)
├── Optional Block: FAQs
├── Optional Block: Posts
└── Optional Block: Resources
Memory is scoped at the Floor level
Content is organized at the Block level
Users never see this unless you choose to expose it.
What FloorMemory Does (In Plain English)#
FloorMemory takes care of:Remembering past conversations
Fetching the right content from the right Blocks
Making follow-up questions work naturally
Keeping memory scoped to the correct Floor
So your AI doesn’t start from scratch every time.
What FloorMemory Does Not Do#
No user authentication logic
The Only APIs Most Developers Need#
Most apps start with just these:1.
Query API
→ Ask a question, get an answer (with memory)
2.
Create Event API
→ Add knowledge to a Floor (goes into the default Block unless specified)
3.
Conversations API
→ Resume or view past chats (optional)
Everything else is optional.
How a Conversation Works (Simplified)#
3.
Uses prior conversation history
Retrieves relevant content from the Floor (across Blocks)
5.
Memory is saved automatically
User Identity (One Rule)#
FloorMemory needs a stable user ID.Use your own login system → pass user_id
Or use xFloor’s signup APIs → get xfloor_user_id
👉 Identity is required. Registration is optional.
One-Line Summary#
FloorMemory is the memory layer for AI assistants.
Floors define where memory lives.
Blocks organize what memory contains — starting with a default Block.
You bring the UI, users, and model.
FloorMemory makes the conversation remember.
Modified at 2026-01-29 09:43:21