mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
readme and api url
This commit is contained in:
@@ -16,9 +16,9 @@
|
||||
"tfs": 0.96,
|
||||
"typical": 0.98,
|
||||
"top_a": 0.01,
|
||||
"rep_pen": 1.0,
|
||||
"rep_pen": 1.02,
|
||||
"rep_pen_slope": 0.8,
|
||||
"rep_pen_range": 1024.0,
|
||||
"rep_pen_range": 256.0,
|
||||
"genamt": 90,
|
||||
"max_length": 2048,
|
||||
"ikgen": 200,
|
||||
|
@@ -19,6 +19,8 @@
|
||||
//8) Сombine multiple messages into one if the text continues
|
||||
//9) Access for many chats
|
||||
//10) Design presets
|
||||
//11) Fix sended propt with json markup
|
||||
//
|
||||
//import {encode, decode} from "../scripts/gpt-2-3-tokenizer/mod.js";
|
||||
//let text = "hello world";
|
||||
//console.log(encode("dsfs").length); // [258, 18798, 995]
|
||||
@@ -1193,6 +1195,14 @@
|
||||
$("#api_button").css("display", 'none');
|
||||
api_server = $('#api_url_text').val();
|
||||
api_server = $.trim(api_server);
|
||||
//console.log("1: "+api_server);
|
||||
if(api_server.substr(api_server.length-1,1) == "/"){
|
||||
api_server = api_server.substr(0,api_server.length-1);
|
||||
}
|
||||
if(!(api_server.substr(api_server.length-3,3) == "api" || api_server.substr(api_server.length-4,4) == "api/")){
|
||||
api_server = api_server+"/api";
|
||||
}
|
||||
//console.log("2: "+api_server);
|
||||
saveSettings();
|
||||
is_get_status = true;
|
||||
is_api_button_press = true;
|
||||
|
@@ -1,11 +1,13 @@
|
||||
### TavernAI is a adventure chat shell for AI language models
|
||||
<br><img src="readme/1.png" width="600" />
|
||||
|
||||
## Features
|
||||
TavernAI helps the AI model is in the chat format and makes the answers a longer than they usually are for this format. In most cases, the shell fixes the problem when the model tries to answer for the user.
|
||||
|
||||
Through the interface, you can easily create/edit characters, switch presets and change the background on the fly.
|
||||
## Setup
|
||||
## How to install
|
||||
### In Detail:
|
||||
* [Detail guide how to install and connect to Colab AI model step by step](https://github.com/TavernAI/TavernAI/wiki/How-to-install)<br>
|
||||
### Briefly:
|
||||
1. Download and Install [Node.js v19.1.0](https://nodejs.org/download/release/v19.1.0/)
|
||||
2. Run Start.bat or use command: *node server.js*
|
||||
## Connecting to API
|
||||
|
BIN
readme/1.png
BIN
readme/1.png
Binary file not shown.
Before Width: | Height: | Size: 990 KiB After Width: | Height: | Size: 908 KiB |
Reference in New Issue
Block a user