[feat] nai improvements, better authornote

This commit is contained in:
kwaroran
2023-09-09 08:23:15 +09:00
parent a9564189c4
commit a122e1cc5d
9 changed files with 92 additions and 54 deletions

View File

@@ -1,4 +1,4 @@
export type Proompt = ProomptPlain|ProomptTyped|ProomptChat;
export type Proompt = ProomptPlain|ProomptTyped|ProomptChat|ProomptAuthorNote;
export interface ProomptPlain {
type: 'plain'|'jailbreak';
@@ -8,10 +8,16 @@ export interface ProomptPlain {
}
export interface ProomptTyped {
type: 'persona'|'description'|'authornote'|'lorebook'|'postEverything'
type: 'persona'|'description'|'lorebook'|'postEverything'
innerFormat?: string
}
export interface ProomptAuthorNote {
type : 'authornote'
innerFormat?: string
defaultText?: string
}
export interface ProomptChat {
type: 'chat';