diff --git a/public/scripts/extensions/stable-diffusion/index.js b/public/scripts/extensions/stable-diffusion/index.js
index 7467c9c1e..2e259f904 100644
--- a/public/scripts/extensions/stable-diffusion/index.js
+++ b/public/scripts/extensions/stable-diffusion/index.js
@@ -33,19 +33,19 @@ const generationMode = {
CHARACTER: 0,
USER: 1,
SCENARIO: 2,
- FREE: 3,
+ RAW_LAST: 3,
NOW: 4,
FACE: 5,
+ FREE: 6,
}
const triggerWords = {
[generationMode.CHARACTER]: ['you'],
[generationMode.USER]: ['me'],
[generationMode.SCENARIO]: ['scene'],
- [generationMode.FREE]: ['raw_last'],
+ [generationMode.RAW_LAST]: ['raw_last'],
[generationMode.NOW]: ['last'],
[generationMode.FACE]: ['face'],
-
}
const quietPrompts = {
@@ -57,7 +57,8 @@ const quietPrompts = {
[generationMode.USER]: "[Pause your roleplay and provide a detailed description of {{user}}'s appearance from the perspective of {{char}} in the form of a comma-delimited list of keywords and phrases. Ignore the rest of the story when crafting this description. Do not roleplay as {{char}}}} when writing this description, and do not attempt to continue the story.]",
[generationMode.SCENARIO]: "[Pause your roleplay and provide a detailed description for all of the following: a brief recap of recent events in the story, {{char}}'s appearance, and {{char}}'s surroundings. Do not roleplay while writing this description.]",
[generationMode.NOW]: "[Pause your roleplay and provide a brief description of the last chat message. Focus on visual details, clothing, actions. Ignore the emotions and thoughts of {{char}} and {{user}} as well as any spoken dialog. Do not roleplay as {{char}} while writing this description. Do not continue the roleplay story.]",
- [generationMode.FREE]: "[Pause your roleplay and provide ONLY the last chat message string back to me verbatim. Do not write anything after the string. Do not roleplay at all in your response. Do not continue the roleplay story.]",
+ [generationMode.RAW_LAST]: "[Pause your roleplay and provide ONLY the last chat message string back to me verbatim. Do not write anything after the string. Do not roleplay at all in your response. Do not continue the roleplay story.]",
+ [generationMode.FREE]: '[Pause your roleplay and provide only a detailed comma-delimited list of keywords and phrases which describe the following: "{0}". Include "{0}" into the list. Do not roleplay as {{char}} while writing this description. Do not continue the roleplay story.]',
}
const helpString = [
@@ -68,7 +69,7 @@ const helpString = [
`
${m(j(triggerWords[generationMode.USER]))} – user character full body selfie
`,
`
${m(j(triggerWords[generationMode.SCENARIO]))} – visual recap of the whole chat scenario
`,
`
${m(j(triggerWords[generationMode.NOW]))} – visual recap of the last chat message
`,
- `
${m(j(triggerWords[generationMode.FREE]))} – visual recap of the last chat message with no summary
`,
+ `
${m(j(triggerWords[generationMode.RAW_LAST]))} – visual recap of the last chat message with no summary