You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add logit_bias to the OpenAI api
* Cleanup and refactor, test in swagger.
---------
Co-authored-by: Concedo <39025047+LostRuins@users.noreply.github.com>
Copy file name to clipboardexpand all lines: kcpp_docs.embd
+12-2
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
<!-- schema -->
10
10
<script>
11
-
let spec = {
11
+
let spec = {
12
12
"components": {
13
13
"schemas": {
14
14
"BasicError": {
@@ -176,7 +176,17 @@
176
176
"default": false,
177
177
"description": "KoboldCpp ONLY. If true, also removes detected stop_sequences from the output and truncates all text after them. Does not work with SSE streaming.",
178
178
"type": "boolean"
179
-
}
179
+
},
180
+
"logit_bias": {
181
+
"default": {},
182
+
"description": "KoboldCpp ONLY. An dictionary of key-value pairs, which indicate the token IDs (int) and logit bias (float) to apply for that token. Up to 16 value can be provided.",
0 commit comments