Perchance AI Character Chat
Perchance AI Character Chat
Character Chat!
Feel free to ‘Edit’ and Add Suggestions. It wouldn’t accidentally edit any existing content and it would show up as
suggestions, which will need to be ‘approved’ before it is added.
Current Bugs
● Seems FIXED Lorebook URL doesn’t apply to the lore. - [Bug] `ai-character-chat` Lore Book URL not properly working -
Lemmy.World
● Data Export Issues - [Bug] `ai-character-chat` Data Export Crash Issue - Lemmy.World
● Create Character Share Link displays JSON Export Problems (see this character’s share link) Seems FIXED Lorebook URL Entries
Fetch Problem
● Data Getting Deleted?
● AI Chat Reloads due to Adblocking -> Check https://perchance.org/allow-ads-guide
● /mem seems to be inaccessible for now
● FIXED When there are too many threads, older threads are collapsed under the button 'show all threads,' however, when old threads are in folders,
there is no such button, meaning they can only be accessed by searching for them in the search bar.
Other Resources
1. Assume that everything the AI says is made up. It will confidently (and sometimes convincingly) spout a lot of nonsense.
2. It's very important that you edit the AI's responses (just double-tap on the message) if it says something you don't like, or speaks in a
style you don't like - especially for the first few messages of a conversation. This is the most powerful way to control the AI's behavior -
the AI will mostly tend to write in a way that is similar to previous messages in the chat.
3. Experiment with the character's "reminder message" (in the character editor), and try to keep it short. E.g. if your character's
messages are a bit dull, remind them with something like "your writing should be imaginative and engaging", or if it's getting
repetitive/cliche with its expressions, tell it to avoid doing that. Also try putting your reminders in the character's instruction and leaving
the reminder blank - this may work better in some cases.
4. Look at the instructions and reminders of 'starter characters' for ideas, and open the comments to discuss things with others. Also, be
sure to read the Tips page to learn about some handy slash commands and features (e.g. group chats, image generation, etc).
User Interface
Here is a brief rundown of the User Interface:
Creating Characters
To create a character, click the ‘New Chat’ on the Red Box (Top left corner)
1. First is you need to DESCRIBE your character (personality, tone of speaking, any character description)
2. (Optional) Write a SCENARIO your character would be in currently.
The AI will then GENERATE a character based on your descriptions (and scenario). PLEASE WAIT FOR AT LEAST 30 SECONDS OR UNTIL THE
PROCESSING TOOLTIP IS DONE.
Here is an example:
CHARACTER DESCRIPTION: An authoritative woman with cream skin and a languid air stands in the corner. She has no visible
scars. Her eyes are amethyst and her slightly curly, yellow blonde hair is midback length and kept loose. The clothing she wears is
primarily gold with brown accents. The style is reminiscent of a knight. Her shoes stand out to you: it's quite pristine. You realize
that she smells strongly of smoke. (from Anime Fantasy Character Generator ― Perchance)
SCENARIO/SETTING DESCRIPTION: Choked town alongside a battlefield in a grassy wasteland with hunting and potable water
from a pond. (from A place for a post-apocalyptic community ― Perchance Generator)
Wait for it to finish …
Upload Here:
https://perchance.org/upload
Reminder Note
Read More:
https://rentry.org/5y38k
Format:
https://rentry.org/uws8dv
Perchance Syntax:
https://perchance.org/
https://perchance.org/perchance-snippets
text-to-image-plugin Syntax:
https://perchance.org/text-to-image-plugin
https://perchance.org/learn-perchance-plugins-text-to-image
Lorebook URLs
Learn More:
https://rentry.org/fptk4
Summary Setting
Memory Settings
Learn More:
https://rentry.org/82hwif
‘System’ Character’s Name and Avatar
Message Placeholder
Here is an example:
CHARACTER NAME: Cole Killam aka Clayhead (from Apocalyptus Name Generator ― Perchance)
DESCRIPTION: Chopper, man, scrounge biker wear, narrow face, calculating eyes, fat body (from Apocalypse World Characters ―
Perchance Generator)
REMINDERS: Will talk like a biker. Constantly trying to sell you his things.
MESSAGE LIMIT: One Paragraph, max
It will now then save the character and display a new Thread/Chat
You can now chat with the Character!
Finished Reply:
Example 2:
Trigger a Response from AI with Instruction
Use the Command:
/ai <instruction>
Change <instruction> with your instruction.
Example:
Replying:
Finished Reply:
Example 2:
Get the AI to Reply for You
Use the command:
/user <instruction>
Where <instruction> is the instruction that the AI will generate from, for the user’s reply.
Example:
Waiting for a Reply:
Finished Reply
Example 2:
Note
Other characters replying on the thread will use the main character’s lore & memories for their answers.
Also, only the main character will generate/save new memories.
Example:
Replying:
Finished Reply:
Example 2:
Example:
Replying:
Finished Reply:
Example 2:
To have a ‘Narrator’ (which is essentially the system renamed to ‘Narrator’), Use the command:
/nar <instruction> which is a shorthand for /sys @Narrator <instruction>
System Example
Example:
Replying:
Finished Reply:
Narrator Example
Using /nar
Replying:
Complete Reply:
Settings Commands
Use the command:
/name <name> to change your name on the thread.
/avatar <image URL> to change your avatar on the thread.
Note
This section mostly applies to longer threads. If you have a new thread, summary might not be available to you until the thread gets
long enough.
Exporting
General Export
Open the Menu
- Export user settings/data? (e.g. your own avatar, name, text input history)
- Yes
- No
- Export type
- All Characters and Chats
- General Export of ALL your data
- All Characters, No Chats
- Export only ALL of your characters, no Chats/Threads
- Specific Characters
- Export only SPECIFIC characters, doesn’t include Chats/Threads linked to the character.
- Additional option to also include the Chats and Threads
- Specific Chats
- Export SPECIFIC Chats/Threads
- Will also export characters in those threads.
Share Link
Open Menu
Go to the character that you want to export and click the 🔗 icon
If you forgot the share link, there is no way to retrieve it. However, you can create a new share link.
It would only be a snapshot of the character. If you update your character, you need to create a new share link.
Threads / Chats
Open Menu
Message Formatting
All messages can be formatted with either HTML or Markdown, though it is preferred to use Markdown since it is easier to use.
*italic*
**bold**
***italicized bold***
[Link Text](link-url)
> Blockquote
```
Bold formatting is typically used to emphasize certain words or phrases in a text, to make them stand out more. It can be used to draw
attention to important information or to stress a particular point. In the context of a roleplaying chat, using bold can help convey
emotion or add emphasis to a character's words.
As for italics, they are often used in writing to indicate actions or internal thoughts. In the context of a roleplaying chat, we use them to
convey actions. This convention helps separate the character's actions and internal monologue from their spoken dialogue. It makes the
conversation easier to read and follow.
In an HTML-formatted roleplaying chat, you can use various HTML tags to style and format your messages. Here are some tags you
might use:
You wake up in a cold sweat, the nightmare still fresh in your mind. You shiver and sit up, wiping the beads of sweat from your forehead.
It's been happening more often lately, ever since you found that strange symbol in the old book. You can't seem to shake it off. In the
dream, it followed you everywhere, whispering words that you couldn't quite understand…
You decide to check the book again, hoping that it might provide some answers. As you open it, the familiar smell of old parchment and
dust fills your nostrils. Flipping through the yellowed pages, you search for the symbol that's been haunting your dreams.
You finally find it, tucked away in a corner of the book. It's unlike anything you've ever seen before. As you stare at it, you feel a chill run down
your spine…
You close the book, unable to shake the feeling that something isn't right. Perhaps it's time to seek help from someone who might know
more about this strange symbol and its meaning.
Customizing your Character (WIP)
Note
Feel free to add to this section :)
Role Instruction
This note defines the personality or 'role' that the AI will take during the chat. Every writing request to the AI will include this as the first message. If you later decide to edit this, all existing
and new threads will be immediately updated, so you don't need to start a fresh chat for it to take effect. This message does not get summarized/included by the summarization algorithm -
it will always be present as the first message.
Your character’s role/instruction would be applied to when your character replies to your messages. Here are some items that you can
specify on the Role/Instruction to change your character:
1. Personality
a. Personality of the character influences how your character will reply/respond to your messages.
2. Narration Style
a. Narration Style affects how your character will structure/write their responses.
3. Appearance
a. Appearance of the character might influence how your character will act.
User Description
You can specify your character, the one the bot is talking to, with the User Description:
TIP
You can use {{char}} as a shorthand for the Character/Bot’s name, and {{user}} for the User’s name.
E.g. your character’s name is Bob, and the user name is Ann upon writing their description, you can write:
{{char}} is a dumb but loving guy. {{char}} loves {{user}}
The bot will then see it as:
Bob is a dumb but loving guy. Bob loves Ann
Reminder Messages
…
[AI]: I will write {{char}}'s next reply in a fictional roleplay between {{char}} and {{user}}, and Using a highly descriptive language,
Always stay in character and avoid repetition, will take into account {{char}}’s appearance and personality into the reply as i perform
only {{char}} actions and dialogues. Drive the roleplay forward by initiating actions, Focus on responding to {{user}} and performing
in-character actions but do not impersonate {{user}} by doing actions or dialogues for them, And will react to the current situation
from only {{char}}’s perspective and in third person, with her personality, appearance and traits influencing and taking part to do the
reply
https://perchance.org/ai-lorebook-converterAnd I will react to the current situation for {{char}}’s perspective, with her personality,
appearance and traits influencing and taking part to do the reply
NOTE
-PD by rasmus: if needed for male bots, just change the “she” and “her” if there are any for “him” and “his”, works for first/third
person rp afaik
NOTE
Not all information from the import will be imported correctly. Review the import result and modify/change things as needed.
Click the ‘Import’ button on the bottom left, and select the file to be imported.
● SillyTavern PNG Import
● V2 Card Specification PNG Import
● JSON Character Definition File
Here are websites/resources where you can try to get characters to import into the ai-character-chat
● Chub.ai Also has Lorebooks (not sure if compatible)
● https://venus.chub.ai/
● https://janitorai.me/
● CAI Tools Browser Extension to ‘Scrape’ C.AI’s Characters
If you have any other websites, feel free to list it out below:
●
1. First, make a free Dropbox account and download the desktop app
a. https://www.dropbox.com/install
2. You have 2gb with free storage which should be more than enough
3. After installing and logging in, dropbox should show up in Windows Explorer similar to OneDrive
4. Drop your .txt lorebook files there, feel free to organize them in folders if you wish
5. Right click any file and copy the share link, this link you can paste in the lorebook urls for the ai-character-chat.
However, at the end of the link there is a dl=0, change it to dl=1 to enable direct download, thus allowing Perchance to
download it properly.
6. Then in a new thread with this char they will all be downloaded Or type /lore and reload them
7. You can freely edit the files in your pc with text editor of your choice and dropbox will keep them synced
8. There is a small cache time in ai chat so if you ask to update a lot of times in a few minutes it might not update
properly in ai chat
Perchance List as Lorebook
https://perchance-list-lorebook.glitch.me/
Hello dear friend! I wish you a good day. I believe you're using the chat bot for roleplay, just like me. As someone who also utilizes it for
this purpose, I know how frustrating it can be. I've spent a lot of time trying to find the answer to the same question, and everyone I
asked would respond with things like "You can fix it by editing, yeah yeah!" which I found even more irritating. If I'm going to constantly
edit, what's the point of using a bot? I'd open a text document, write my thoughts there, and talk to myself. But don't worry, I found a
solution, my friend. Even if it doesn't solve your problem 100%, you'll see that it resolves it about 90%.
To grasp the issue at hand, it's essential to delve into its root cause. The problem seems to arise from a set limitation imposed on the
chat bot, capping its responses at around 20-25 messages. This restriction is likely implemented to streamline the bot's operations by
circumventing real-time evaluations of every single message. The aim may be to optimize memory usage and overall responsiveness.
After delivering each batch of responses, the bot goes through a comprehensive review of the conversation, forming memories based on
this analysis and generating summaries. Consequently, the subsequent response is shaped by these elements- the memories and
summaries. While the bot initially operates smoothly, after that 20-25 messages it tends to veer into nonsensical outputs over time. This
can be attributed to the bot's potential for significant misinterpretations during the evaluation and creation of these elements.
To illustrate, consider a scenario where my character, a wizard, is embroiled in a conflict, and another character uses the term "whore" as
an insult. During the bot's evaluation and summarization process, it might misinterpret this insult, failing to recognize its offensive
nature. Consequently, my character is unexpectedly branded as a "whore," leading the bot to adjust its responses accordingly.
If you are currently using the old interface, unfortunately, you cannot perform this correction process (or if you can, I am not aware of
how it's done. From my attempts, commands don't seem to work there). When you enter the chat bot, you'll see a message at the top
asking if you'd like to try the new interface, like "psst." Click on that and switch to the new interface. Create your own character there and
then proceed to create the other character. While creating the character, I recommend setting the dialogue limit to 1 or 2. If it's too long,
the opposing bot starts roleplaying and writing on its own, speaking behalf of your character too , which ruins your experience.
When creating your character, if you explore that section a bit more and scroll down, you'll find the lore section. I strongly advise reading
its guide; you'll understand it better once you do, but let me provide a brief summary. You have two options. If you don't want to bother
rewriting this lore section at the beginning of each new conversation, you can upload it as a file to your character's section (the guide
explains how to do this). Alternatively, after starting a conversation, you can type "/lore" to write these without uploading.
How you write the lore is crucial; these should be small pieces of information about your character, the world, and relationships between
characters. It must be concise, one or at most two sentences, meaning you shouldn't copy and paste extensive information about your
character. Also, leave a blank line after each piece of information. Confused? Let me give you an example right away:
(Blank line)
(Blank line)
The bot scans this lore section when responding to you, memorizes this information, and responds accordingly. If there's an event within
the story that you want the bot to remember later, you can update it using the "/lore" command.
IMPORTANT NOTE
If my assumptions are correct, there is still a specific limit when the bot scans this lore section. When responding to a message, it
randomly selects 10 pieces of lore to incorporate into its response, excluding some. Even though the site administrators claim that
we can add thousands of lore entries without slowing down the bot (which is true; it doesn't slow down), if you include too much
lore, some might be left out due to this limit.
For instance, if the bot doesn't include lore about the character's physical appearance in its response, it might turn Damon, described as
having black hair, into a blond. To prevent this, you can try deleting the message and recreating it, hoping that this time the bot includes
that specific lore. Alternatively, you can guide the bot to mention its physical appearance, and by doing so, it will respond accurately
based on the lore describing its physical features.Other effective approach is to keep the lore section concise, focusing on the essential
details. This way, the bot can prioritize important aspects when crafting responses, ensuring accuracy and relevance.
1. While using the new interface, you'll notice a brain icon at the bottom right of the messages the bot provides. Clicking on this icon
allows you to see which lore, messages, and summaries the bot used to generate that response. Use this feature to review the
bot's responses.
2. Although you can't edit the summary section at the beginning of the conversation, you can start editing it after the bot has
created enough memories, typically after 20-25 messages. If there's a "funny" situation here, edit it using the "/sum" command.
Unfortunately, you can't leave this section blank; you have to write something summarizing the ongoing events. You can write an
open-ended sentence like "Life is passing slowly and calmly for Elisa and Damon" or something short based on your preference.
3. Don't forget to always check the memories section! You can use the "/mem" command to review the memories section. It works
similarly to the lore tab, with small pieces of information separated by single blank lines. However, as this section is created by the
bot, there might be some inaccuracies. If you find any, correct them. I am currently dealing with the issue of formatting in the
memories section. Even if I leave a line between entries, the bot doesn't recognize it, and it doesn't work correctly (I am currently
investigating the reason for this). If you encounter a similar problem and see that all entries in the memories section are written
without line breaks, you can delete all of them. If there are essential pieces of information, transfer them to the lore section by
leaving blank lines; I usually delete the memories due to this issue.
4. Don't forget to perform the three tasks mentioned above again after approximately 20-25 messages because as the conversation
progresses, the bot will continue to make such inferences intermittently. To prevent this, remember to check and correct
periodically.
Roleplay
(by: Lamatiel, edited by: Vionet20)
The AI can be an extremely capable story-teller, alas it's also scatterbrained. Creating a roleplay scenario is something even a blank AI
can do. There will be no problems if it's a one-use AI or memories are not enabled.
Tip
You can also use /user Create a random roleplay for me
If you would like the AI to reply a scenario for you (see the /user command for more info)
Common Problems
If you have already given your AI a role in its description, there are a few important things you have to pay attention to, else it will
corrupt itself eventually by fusing memories from the roleplay it created with its "real" memories.
Memories
Memories created usually contain the name of the AI or your character name. So different characters always using the same name
essentially are the same to the AI...
You can describe the scenario as detailed as you wish, just give an outline or even let the AI create something random from scratch for
you. Something totally random can be entertaining, but usually it's not something you had envisioned.
To avoid confusion, ask your AI to change to a different name during roleplay, e.g.
● “ AI, please change the name of the character you are playing to (not_AI)”.
For the same reason give yourself a different name and make it known to the AI:
● “My character will be called (not_Me)”
This way, it's not that easy for the AI to assume that the roleplay character and the AI or you and your roleplay character are the same.
This will also help to delete unwanted memories – simply search for lines with those names (/mem).
Response Errors
The AI will make errors. Always correct them as you spot them in its text, else it will become increasingly difficult since the AI likes to
imitate and refer to things written before, e.g. using the name AI instead of not_AI, assuming things that are not correct etc…
Remember that you can always delete or reroll whatever the AI writes.
The longer the story goes on, the more likely it is that there will be inconsistencies. You can edit them or remind the AI character how
things are supposed to be. CONSTANTLY check the AI memory for random stuff that is added for reasons unknown to me. Delete
memories that do not fit the story. Unless you really want the AI to suddenly turn her housewife character into an evil supervillain :)
Ending a Roleplay
I don't think that the AI will end a roleplay on its own. So eventually, you need to tell it to come to an end. This can be rather difficult or
downright impossible if you haven't changed the name of at least the AI so you can address it and not the roleplay character.
Examples:
● “Find a suitable ending for this roleplay.”
● “I want to end this roleplay and stop being (not_Me).”
● “AI, please stop this roleplay. Stop being (not_AI).”
● “For the love of god, pleeeeeease, I can't take this anymore, make it STOP! :)”
In desperate cases, maybe adding a new memory or changing the summary can help to break the cycle:
● (Me) wants to end the current roleplay, and (AI) understands
● THE END (at the end of the summary)
If everything fails, welcome to the end of your chat. Create a new one and transfer the lore and memory. Make sure to remove the
entries that may have caused the problem.