update outdated links

This commit is contained in:
Concedo 2026-05-28 17:53:33 +08:00
parent ca942eb172
commit 982dc87dd6
2 changed files with 11 additions and 10 deletions

View file

@ -1603,7 +1603,7 @@
"/api/extra/embeddings": {
"post": {
"summary": "Creates an embedding vector representing the input text. Please refer to OpenAI documentation",
"description": "Creates an embedding vector representing the input text.\n\nThis is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://platform.openai.com/docs/api-reference/embeddings/create](https://platform.openai.com/docs/api-reference/embeddings/create)",
"description": "Creates an embedding vector representing the input text.\n\nThis is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://developers.openai.com/docs/api-reference/embeddings/create](https://developers.openai.com/docs/api-reference/embeddings/create)",
"requestBody": {
"content": {
"application/json": {
@ -1815,7 +1815,7 @@
"/api/extra/json_to_grammar": {
"post": {
"summary": "Converts a provided JSON schema into GBNF grammar.",
"description": "Converts a provided JSON schema into GBNF grammar. Example schema at [https://platform.openai.com/docs/guides/structured-outputs](https://platform.openai.com/docs/guides/structured-outputs)",
"description": "Converts a provided JSON schema into GBNF grammar. Example schema at [https://developers.openai.com/docs/guides/structured-outputs](https://developers.openai.com/docs/guides/structured-outputs)",
"requestBody": {
"content": {
"application/json": {
@ -2786,7 +2786,7 @@
"/v1/completions": {
"post": {
"summary": "Generates text continuations given a prompt. Please refer to OpenAI documentation",
"description": "Generates text continuations given a prompt.\n\nThis is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://platform.openai.com/docs/api-reference/completions](https://platform.openai.com/docs/api-reference/completions). All KoboldCpp samplers are supported, please refer to /api/v1/generate for more details.",
"description": "Generates text continuations given a prompt.\n\nThis is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://developers.openai.com/api/reference/resources/completions/methods/create](https://developers.openai.com/api/reference/resources/completions/methods/create). All KoboldCpp samplers are supported, please refer to /api/v1/generate for more details.",
"requestBody": {
"content": {
"application/json": {
@ -2808,7 +2808,7 @@
"/v1/chat/completions": {
"post": {
"summary": "Generates a response from a list of messages. Please refer to OpenAI documentation",
"description": "Given a list of messages comprising a conversation, the model will return a response.\n\n This is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://platform.openai.com/docs/api-reference/chat](https://platform.openai.com/docs/api-reference/chat). All KoboldCpp samplers are supported, please refer to /api/v1/generate for more details.",
"description": "Given a list of messages comprising a conversation, the model will return a response.\n\n This is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://developers.openai.com/api/reference/resources/chat/subresources/completions/methods/create](https://developers.openai.com/api/reference/resources/chat/subresources/completions/methods/create). All KoboldCpp samplers are supported, please refer to /api/v1/generate for more details.",
"requestBody": {
"content": {
"application/json": {
@ -2852,7 +2852,7 @@
"/v1/models": {
"get": {
"summary": "List and describe the various models available in the API. Please refer to OpenAI documentation",
"description": "List and describe the various models available in the API.\n\n This is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://platform.openai.com/docs/api-reference/models](https://platform.openai.com/docs/api-reference/models)",
"description": "List and describe the various models available in the API.\n\n This is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://developers.openai.com/docs/api-reference/models](https://developers.openai.com/docs/api-reference/models)",
"tags": [
"v1"
],
@ -2862,7 +2862,7 @@
"/v1/audio/transcriptions": {
"post": {
"summary": "Transcribes a wav file with speech to text using loaded Whisper model. Please refer to OpenAI documentation",
"description": "Transcribes a wav file with speech to text using loaded Whisper model.\n\n This is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://platform.openai.com/docs/api-reference/audio/createTranscription](https://platform.openai.com/docs/api-reference/audio/createTranscription)",
"description": "Transcribes a wav file with speech to text using loaded Whisper model.\n\n This is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://developers.openai.com/docs/api-reference/audio/createTranscription](https://developers.openai.com/docs/api-reference/audio/createTranscription)",
"tags": [
"v1"
],
@ -2872,7 +2872,7 @@
"/v1/audio/speech": {
"post": {
"summary": "Generates Text-To-Speech audio from input text. Please refer to OpenAI documentation",
"description": "Generates Text-To-Speech audio from input text.\n\n This is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://platform.openai.com/docs/api-reference/audio/createSpeech](https://platform.openai.com/docs/api-reference/audio/createSpeech)",
"description": "Generates Text-To-Speech audio from input text.\n\n This is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://developers.openai.com/docs/api-reference/audio/createSpeech](https://developers.openai.com/docs/api-reference/audio/createSpeech)",
"requestBody": {
"content": {
"application/json": {
@ -2894,7 +2894,7 @@
"/v1/embeddings": {
"post": {
"summary": "Creates an embedding vector representing the input text. Please refer to OpenAI documentation",
"description": "Creates an embedding vector representing the input text.\n\nThis is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://platform.openai.com/docs/api-reference/embeddings/create](https://platform.openai.com/docs/api-reference/embeddings/create)",
"description": "Creates an embedding vector representing the input text.\n\nThis is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://developers.openai.com/docs/api-reference/embeddings/create](https://developers.openai.com/docs/api-reference/embeddings/create)",
"requestBody": {
"content": {
"application/json": {
@ -2948,6 +2948,7 @@
};
</script>
<script>
//self destruct into json if requested
const urlParams = new URLSearchParams(window.location.search);

View file

@ -12,7 +12,7 @@ Current version indicated by LITEVER below.
-->
<head>
<script id="init-config">
const LITEVER = 333;
const LITEVER = 334;
const urlParams = new URLSearchParams(window.location.search);
var localflag = urlParams.get('local'); //this will be replaced automatically in embedded kcpp
const STORAGE_PREFIX = (localflag?"e_":"")+"kaihordewebui_";
@ -30930,7 +30930,7 @@ Current version indicated by LITEVER below.
</div>
<div id="expandlogitbias" class="settingsbox hidden">
<div class="color_red hidden" id="nologitbias">Logit bias may be unavailable.</div>
<div><a href='https://platform.openai.com/docs/api-reference/chat/create#chat-create-logit_bias' target='_blank' class='color_blueurl'>Input is a JSON object, reference here.</a><br></div>
<div><a href='https://developers.openai.com/api/reference/resources/chat/subresources/completions/methods/create' target='_blank' class='color_blueurl'>Input is a JSON object, reference here.</a><br></div>
<textarea class="menuinput_multiline" style="width:100%;height: 80px;line-height:1.1;padding:4px;" id="logitbiastxtarea" placeholder="" rows="5"></textarea>
<div style="display: flex; column-gap: 4px; margin-bottom: 4px;">
<input class="menuinput_inline hidden" inputmode="text" type="text" placeholder="Token String" value="" id="newlogitbiasstring">