[fix] add lorebook to dataset
This commit is contained in:
@@ -15,9 +15,10 @@ export async function exportAsDataset(){
|
|||||||
for(const chat of char.chats){
|
for(const chat of char.chats){
|
||||||
|
|
||||||
dataset.push({
|
dataset.push({
|
||||||
character: char.name,
|
name: char.name,
|
||||||
description: char.desc,
|
description: char.desc,
|
||||||
chats: chat.message,
|
chats: chat.message,
|
||||||
|
lorebook: char.globalLore
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user