|
53 | 53 | <fieldset role="group" aria-labelledby="api-settings">
|
54 | 54 | <legend id="api-settings"></legend>
|
55 | 55 | <label for="apiKey" id="apiKeyLabel"></label>
|
56 |
| - <input type="password" id="apiKey" name="apiKey" value="pplx-xxxxxxxxxxx" aria-required="true"><br> |
| 56 | + |
| 57 | + <input type="password" id="apiKey" name="apiKey" value="pplx-xxxxxxxxxxx" aria-required="true"> |
| 58 | + <span class="help-icon" data-tooltip-i18n="apiKeyTip">?</span><br> |
57 | 59 | <label for="model" id="modelLabel"></label>
|
58 | 60 | <select id="model" name="model" aria-required="true">
|
59 | 61 | <optgroup label="Perplexity Models">
|
|
67 | 69 | <option value="mistral-7b-instruct">mistral-7b-instruct (7B)</option>
|
68 | 70 | <option value="mixtral-8x7b-instruct">mixtral-8x7b-instruct (8x7B)</option>
|
69 | 71 | </optgroup>
|
70 |
| - </select> |
| 72 | + </select><span class="help-icon" data-tooltip-i18n="modelTip">?</span> |
71 | 73 |
|
72 | 74 | <div class="input-row">
|
73 | 75 | <div class="input-group">
|
74 | 76 | <label for="temperature" id="tempLabel"></label>
|
75 | 77 | <input type="number" id="temperature" name="temperature" value="1" step="0.01" min="0" max="2" aria-required="true">
|
| 78 | + <span class="help-icon" data-tooltip-i18n="temperatureTip">?</span> |
| 79 | + |
76 | 80 | </div>
|
77 | 81 | <div class="input-group">
|
78 | 82 | <label for="maxTokens" id="maxTokensLabel">Max Tokens</label>
|
79 | 83 | <input type="number" id="maxTokens" name="maxTokens" value="" step="1" min="1" max="2048" aria-required="true">
|
| 84 | + <span class="help-icon" data-tooltip-i18n="maxTokensTip">?</span> |
80 | 85 | </div>
|
81 | 86 | </div>
|
82 | 87 | <div class="input-row">
|
83 | 88 | <div class="input-group">
|
84 | 89 | <label for="topP" id="topPLabel">Top-p</label>
|
85 | 90 | <input type="number" id="topP" name="topP" value="" step="0.01" min="0" max="1" aria-required="true">
|
| 91 | + <span class="help-icon" data-tooltip-i18n="toppTip">?</span> |
86 | 92 | </div>
|
87 | 93 | <div class="input-group">
|
88 | 94 | <label for="topK" id="topKLabel">Top-k</label>
|
89 | 95 | <input type="number" id="topK" name="topK" value="" step="1" min="1" max="2048" aria-required="true">
|
| 96 | + <span class="help-icon" data-tooltip-i18n="topkTip">?</span> |
90 | 97 | </div>
|
91 | 98 | </div>
|
92 | 99 | <div class="input-row">
|
93 | 100 | <div class="input-group">
|
94 | 101 | <label for="frequencyPenalty" id="frequencyPenaltyLabel">Frequency penalty</label>
|
95 | 102 | <input type="number" id="frequencyPenalty" name="frequencyPenalty" value="" step="0.1" min="-2" max="2" aria-required="true">
|
| 103 | + <span class="help-icon" data-tooltip-i18n="frequencyPenaltyTip">?</span> |
96 | 104 | </div>
|
97 | 105 | <div class="input-group">
|
98 | 106 | <label for="presencePenalty" id="presencePenaltyLabel">Presence penalty</label>
|
99 | 107 | <input type="number" id="presencePenalty" name="presencePenalty" value="" step="0.1" min="0" max="2" aria-required="true">
|
| 108 | + <span class="help-icon" data-tooltip-i18n="presencePenaltyTip">?</span> |
100 | 109 | </div>
|
101 | 110 | </div>
|
102 | 111 | <div class="button-row">
|
|
0 commit comments