-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.html
36 lines (36 loc) · 2.07 KB
/
settings.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<div id="cyoa_settings">
<div class="inline-drawer">
<div class="inline-drawer-toggle inline-drawer-header">
<b>CYOA Responses</b>
<div class="inline-drawer-icon fa-solid fa-circle-chevron-down down"></div>
</div>
<div class="inline-drawer-content">
<div class="cyoa_settings-extension_block flex-container">
<label for="cyoa_llm_prompt">LLM Prompt for Options</label>
<small><i id="hint">Use {{suggestionNumber}} for the Number of Responses.</i></small>
<textarea id="cyoa_llm_prompt" class="text_pole textarea_compact" rows="4" placeholder="Enter the system prompt for the LLM to generate CYOA options"></textarea>
</div>
</br>
<div class="cyoa_settings-extension_block flex-container">
<label for="cyoa_llm_prompt_impersonate">LLM Prompt for Impersonation</label>
<small><i id="hint">Use {{suggestionText}} for the text from the chosen context.</i></small>
<textarea id="cyoa_llm_prompt_impersonate" class="text_pole textarea_compact" rows="4" placeholder="Enter the system prompt for the LLM to generate impersonated responses"></textarea>
</div>
</br>
<label class="checkbox_label" for="cyoa_apply_wi_an">
<input id="cyoa_apply_wi_an" type="checkbox" />
<span>Apply World Info / Author's Note</span>
</label>
</br>
<label for="cyoa_num_responses">Number of Responses: <span id="cyoa_num_responses_value">3</span></label>
<div class="range-block">
<input id="cyoa_num_responses" type="range" min="1" max="10" step="1" value="3" />
</div>
</br>
<label for="cyoa_response_length">API response length: <span id="cyoa_response_length_value">100</span></label>
<div class="range-block">
<input id="cyoa_response_length" type="range" min="1" max="2000" step="25" value="500" />
</div>
</div>
</div>
</div>