first commit
This commit is contained in:
@@ -50,4 +50,8 @@ This app can be deployed to Vercel, Netlify, or any other Next.js-compatible hos
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
```
|
||||
|
||||
## Credits
|
||||
|
||||
Favicon: [Story Book](https://icons8.com/icon/vu1OF8fPcqj9/story-book) icon by [Icons8](https://icons8.com)# lorebook-converter
|
||||
|
||||
@@ -135,19 +135,19 @@ export default function Home() {
|
||||
|
||||
janitorData.forEach((entry, uid) => {
|
||||
entries[uid.toString()] = {
|
||||
uid: uid,
|
||||
uid: entry.id !== undefined ? entry.id : uid,
|
||||
key: entry.key || [],
|
||||
keysecondary: entry.keysecondary || [],
|
||||
comment: entry.name || "Entry",
|
||||
comment: entry.comment || entry.name || "Entry",
|
||||
content: entry.content || "",
|
||||
constant: entry.constant || false,
|
||||
vectorized: false,
|
||||
selective: true,
|
||||
selectiveLogic: 0,
|
||||
selective: entry.selectiveLogic !== undefined ? true : true,
|
||||
selectiveLogic: entry.selectiveLogic || 0,
|
||||
addMemo: true,
|
||||
order: entry.insertion_order || 100,
|
||||
order: entry.insertion_order || entry.order || 100,
|
||||
position: 0,
|
||||
disable: !entry.enabled,
|
||||
disable: entry.enabled !== undefined ? !entry.enabled : false,
|
||||
excludeRecursion: true,
|
||||
preventRecursion: true,
|
||||
matchPersonaDescription: false,
|
||||
@@ -158,8 +158,8 @@ export default function Home() {
|
||||
matchCreatorNotes: false,
|
||||
delayUntilRecursion: false,
|
||||
probability: entry.probability || 100,
|
||||
useProbability: true,
|
||||
depth: 4,
|
||||
useProbability: entry.probability !== undefined,
|
||||
depth: entry.depth || 4,
|
||||
group: entry.inclusionGroupRaw || entry.category || "",
|
||||
groupOverride: false,
|
||||
groupWeight: entry.groupWeight || 100,
|
||||
@@ -172,7 +172,7 @@ export default function Home() {
|
||||
sticky: 0,
|
||||
cooldown: 0,
|
||||
delay: 0,
|
||||
displayIndex: uid,
|
||||
displayIndex: entry.id !== undefined ? entry.id : uid,
|
||||
filterToCharacters: "",
|
||||
filterToGenerationTriggers: "",
|
||||
excludeFromGeneration: false
|
||||
|
||||
31
test-data.json
Normal file
31
test-data.json
Normal file
@@ -0,0 +1,31 @@
|
||||
[
|
||||
{
|
||||
"activationMode": "standard",
|
||||
"activationScript": "",
|
||||
"case_sensitive": false,
|
||||
"category": "other",
|
||||
"comment": "====SETTING====",
|
||||
"constant": true,
|
||||
"content": "SETTING: The year is 2032. The zombie apocalypse started ten years ago in Alaska when an experimental new drug rapidly mutated the canine test subjects, who subsequently broke out of the lab and began to infect humans with what became known as the \"Mutt Virus\". The pandemic rapidly spread, leaving society in ruins.",
|
||||
"depth": 4,
|
||||
"enabled": true,
|
||||
"extensions": {},
|
||||
"groupWeight": 100,
|
||||
"id": 0,
|
||||
"inclusionGroupRaw": "",
|
||||
"insertion_order": 100,
|
||||
"key": ["setting"],
|
||||
"keyMatchPriority": false,
|
||||
"keysecondary": [],
|
||||
"keysecondaryRaw": "",
|
||||
"keysRaw": "setting",
|
||||
"matchWholeWords": true,
|
||||
"minMessages": 0,
|
||||
"name": "",
|
||||
"prioritizeInclusion": false,
|
||||
"priority": 1,
|
||||
"probability": 100,
|
||||
"selectiveLogic": 0,
|
||||
"tags": []
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user