Commit Graph

73 Commits

Author SHA1 Message Date
Cohee b605b940eb Replace transformers.js with patched version 2023-09-09 16:29:11 +03:00
Cohee 967a084aad (WIP) Local emotion classification pipeline 2023-09-09 15:14:16 +03:00
Cohee 8c00f38a1f Add local vectors storage 2023-09-07 21:53:47 +03:00
Cohee 3830347d81 Bump package version 2023-09-06 16:06:23 +03:00
Cohee 5409b3dc9b Bump package version 2023-09-06 14:46:45 +03:00
rbmj 6c097560ca
goodbye axios (#1073)
* goodbye axios

* Rewrite error handling for OpenAI

* Increase instruct sequence length limit

* Buttons markup

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-09-01 19:00:32 +03:00
Cohee 8f20c87a7d Update package lock 2023-09-01 01:33:37 +03:00
rbmj 5cbd5c8210
get rid of node-rest-client and fix types (#1072)
* get rid of node-rest-client and fix types

* remove from package manager

* postAsync is used above its def, need hoisting

* handle client agent undefined, fixes type error

* handle invalid / missing query.name for sanitize

* more type guards

* Make code formatter happy

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-09-01 01:30:33 +03:00
rbmj deeedad19e
Make jsdoc/type-checker happy Pt 3 (#1070)
* png-chunks-extract.extract has no create_date

* `new Buffer.from` is not a thing

* handle failed character read

* stop lying about your return value

* what we get for mixing booleans and strings

* localeCompare makes more sense and fixes types

* uhh wtf, there is no callback in readFileSync

* no subtracting Dates, only Numbers (timestamps)

* handle if no file in request

* changing types makes typechecker mad

* handle false or undefined character read

* default param does not exist

* can't have same property assigned twice

* json5.parse expects a string, not buffer

* handle invalid thumbnail type

* handle invalid thumbnail type case

* ignore bad axios typing

* fix ambiguous typing

* types is incorrect? no .destroy(). use type guard

* include intended error handling of refactor

* Make API urls const

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-08-31 19:44:58 +03:00
Cohee ba712f61eb Bump package version 2023-08-29 20:20:06 +03:00
Cohee 9deaec5877 More typechecks and comments 2023-08-22 14:30:49 +03:00
Cohee e2bac7ec5f Add type checking and JSDoc comments to some utils 2023-08-22 13:07:24 +03:00
Cohee 9c614529ca Make all file write operations atomic 2023-08-17 15:20:02 +03:00
Cohee ea7268febd Replace tokenizer packages with agnai versions (not crash dumping to console) 2023-08-15 18:08:34 +03:00
Cohee ea4b1759aa Bump package version 2023-08-10 12:48:59 +03:00
Cohee 26a9c2889f Bump package version 2023-08-08 23:12:26 +03:00
Cohee 8c70b1decd Bump package version 2023-08-08 22:54:02 +03:00
Cohee 29a3c5d590 Fix npm audit 2023-08-01 23:25:09 +03:00
Cohee 29d841a50b Bump package version 2023-07-31 12:54:49 +03:00
Cohee f36cf088a1 Bump package version 2023-07-29 22:50:52 +03:00
Cohee1207 ef3c8a19fe Bump package version 2023-07-22 14:19:32 +03:00
Cohee dcaa9842ef Bump package version 2023-07-21 19:17:22 +03:00
Cohee edd41989fd Initial commit 2023-07-20 20:32:15 +03:00