Category: Fundamentals
Welcome back to the MiocAI documentation series. In our previous guide, we established exactly what a Lorebook is: a reusable, keyword-triggered encyclopedia that saves your AI from disaster and the c
MiocAI是最好的无审查AI和无过滤AI聊天平台—用于NSFW AI聊天、无限制AI角色扮演和无限制AI伴侣的领先Character.AI替代品和Janitor AI替代品。
Welcome back to the MiocAI documentation series. In our previous guide, we established exactly what a Lorebook is: a reusable, keyword-triggered encyclopedia that saves your AI from disaster and the certain heat-death of the universe. But an encyclopedia is nothing without its pages.
Today, we are opening up the Lorebook Manager and looking at the engine that drives your worldbuilding: The Entry!! I really couldnt think of a name that got the point across better.
An Entry is a single, isolated piece of reality. It could be the description of a place, the biological weaknesses of a... Creature, or the political structure of an empire. If you understand how to build a clean, effective Entry, you can make the AI believe anything.
Let's break down the creation interface and write our "Hello World" of worldbuilding.
To get started, you will need to open the Lorebook Manager. You can find this in the sidebar of the page (or bottom navbar on mobile), under the "bots" section.
Once you create your first Lorebook (let's call it "My Fantasy World", I called it demonstration because thats what I'll use it for), click into the Entries tab. You'll be greeted by an empty list. Click the "New entry" button, and the Entry Editor will slide right onto your screen, or the middle if youre on mobile.
Don't panic at the sight of the "Advanced" tabs or the toggles at the bottom. We will cover those in later guides. For now, you only need to care about the three core pillars of an Entry: Title, Content, and Primary Keywords.
If you get these three boxes right, 90% of your worldbuilding work is already done.
The Title is the human-readable name of your entry. It is technically optional, but you absolutely should use it. Why? Because the Title serves two crucial purposes: 1. It keeps your Entry List organized so you don't just have a massive wall of "Untitled Entry" blocks. 2. Lorebook Tags: When the AI actually uses this entry to generate a response in your chat, the Title will appear as a sleek little bookmark pill at the bottom of the message. This lets you know exactly which pieces of lore the AI referenced!
This is the actual text that gets injected into the AI's context. This is the fact, the rule, the lore. * Rule of thumb: Do not write a novel. Be dense. Be specific. You COULD write a novel, but the AI also COULD never shut up about it then. * Bad Content: "The city is really big and it has a lot of people and the walls are grey and there are guards everywhere." * Good Content: "Eldoria is a massive, heavily fortified city. Grey stone walls. High military presence. The guards wear red cloaks. Not crimson. Please stop saying crimson."
The Content box is what the AI reads. Keep it short n punchy to save on your Token Budget (which we will discuss in advanced guides).
This is how the AI knows when to pull your Content into the chat. You enter these as a comma-separated list.
If you type Eldoria, capital city, the grey walls, the system will constantly scan the recent chat messages. The moment you or the AI type any of those exact words or phrases, this Entry activates.
Pro tip: The system uses word-boundary matching by default. This means if your keyword is "cat", it will trigger on "the cat sat", but it will not falsely trigger on the word "category". Smart, right?
Let's put this into practice and build a simple, functional Entry. We are going to define a location so the AI doesn't hallucinate its layout.
Title:
The Rusty Anchor Tavern
Primary Keywords:
Rusty Anchor, the tavern, local bar
Content:
The Rusty Anchor is a rundown, dimly lit tavern near the docks. It smells of saltwater and stale ale. The bartender is a gruff, one-eyed dwarf named Balinor. The tavern is a known safe haven for smugglers and thieves. The signature drink is "Blackwater Rum", which costs two silver coins.
You attach this Lorebook to your chat. The bot has no idea this tavern exists.
Then, your character says: "Let's lay low for the night. I know a place. Follow me to the Rusty Anchor."
Boom. The system sees the keyword Rusty Anchor. It instantly grabs the Content box and secretly hands it to the AI.
The AI reads it, processes the context, and replies: "I follow you inside. The stench of saltwater and stale ale hits me immediately. I pull my hood down, eyeing the shady patrons in the corner while a gruff, one-eyed dwarf glares at us from behind the bar."
You didn't have to explain the dwarf. You didn't have to explain the smell. The AI just knew, because you laid the building block of reality.
Notice how we added the tavern and local bar as keywords, even though the text mainly focuses on the "Rusty Anchor"?
MiocAI has a feature called Alias Recognition. If you trigger the entry by saying "local bar", the system realizes that the AI might not know the "local bar" is the same thing as the "Rusty Anchor".
To fix this, the system automatically prepends an alias tag to the injected content behind the scenes. It hands the AI something that looks like this:
[The Rusty Anchor Tavern. also known as: local bar] followed by your content.
This ensures the AI always connects the dots, no matter which keyword triggered the entry!
No TLDR this time. Read it. its not a long article.