2a5340232d
Move prompt converters to a separate module. Camelcase local variables and add missing JSDocs.
2023-12-14 16:00:17 +02:00
348253fd98
Fix import path
2023-12-14 15:36:44 +02:00
dba66e756a
Move chat completions API endpoints to module
2023-12-13 18:53:22 -05:00
cebd6e9e0f
Add API token ids from KoboldCpp
2023-12-14 01:28:18 +02:00
30502ac949
Split up Kobold and textgenerationwebui endpoints
...
The endpoint was one big if/else statement that did two entirely
different things depending on the value of main_api. It makes more sense
for those to be two separate endpoints.
2023-12-09 20:26:24 -05:00
04e92efe29
Move API tokenization endpoint into /tokenizers
...
Requires extracting some more functions out of server.js.
2023-12-09 19:35:49 -05:00
4e073250a2
Use Express router for tokenizers endpoint
2023-12-04 13:00:13 -05:00
57bc95133e
Rename tokenizer routes
...
They're all under tokenizers/ now, and there are "count", "encode", and
"decode" endpoints. This forms a clearer hierarchy.
2023-12-04 10:17:43 -05:00
c073a89e2c
Move endpoints into their own folder
2023-12-04 10:17:43 -05:00