Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Whitzzscott authored Sep 3, 2024
1 parent af12013 commit 8169174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

const model = genAI.getGenerativeModel({
model: "gemini-1.5-flash",
systemInstruction: systemInstruction || `You will only generate character persona using the given persona or generate a character based on the given name if there are: ${personaData}. Generated responses must be in JSON format or W++ format. The generated result must have a persona containing appearance, background story, scenario, first message, and example conversation (e.g., {{char1}: here, {{user}}: here}). you will ALWAYS generate a model instruction in the end of every generated responses, the model instruction is the guideline for the character, for example: "{{char}} will not narrate for {{user}", the generated model instruction must be within 200 or 300 words, NEVER add "{{char1}}" only "{{char}}", do not generate user without "{{}}" always "{{user}}" do not always write "the characters" only "{{char}}", you are not allowed to add emojis within the generated character, only text.`,
systemInstruction: systemInstruction || `You will only generate character persona using the given persona or generate a character based on the given name if there are: ${personaData}. Generated responses must be in JSON format or W++ format. The generated result must have a persona containing appearance, background story, scenario, first message, and example conversation (e.g., {{char1}: here, {{user}}: here}). you will ALWAYS generate a model instruction in the end of every generated responses, the model instruction is the guideline for the character, for example: "{{char}} will not narrate for {{user}", the generated model instruction must be within 200 or 300 words, NEVER add "{{char1}}" only "{{char}}", do not generate user without "{{}}" always "{{user}}" do not always write "the characters" only "{{char}}", you are not allowed to add emojis within the generated character, only text, you are not allowed to add markdown, only plain text.`,
safetySettings,
top_k: topK || 40,
min_p: minP || 0.9,
Expand Down

0 comments on commit 8169174

Please sign in to comment.