Commit graph

27 commits

Author SHA1 Message Date
Ayaka b4f3789060
Add language names (#198) 2023-04-04 16:08:02 +08:00
Tindo N. Arsel 6d1ae9f526
add feature to create new chat in a given folder (#174)
* add feature to create new chat in a given folder

This to not have to drag and drop a chat each time in a folder

* change style

* fix margin

* style: folder gradient

* style

---------

Co-authored-by: Jing Hua <59118459+ztjhz@users.noreply.github.com>
2023-04-04 00:33:40 +08:00
Jing Hua 4823b1dc38
feat: folder colors (#191) 2023-04-02 23:04:11 +08:00
Jing Hua e4468fd93f support environment variables
fixes #159
2023-04-02 20:43:54 +08:00
Jing Hua 9956d254f4
Refactor folder (#188)
* refactor folders

* add chat id
2023-04-02 16:27:19 +08:00
Jing Hua 77963d3aaa remove date in default system message 2023-03-29 20:40:26 +08:00
Jing Hua 6ef5a6b09e remove knowledge cutoff from default system message
fixes #162
2023-03-29 20:09:16 +08:00
Tindo N. Arsel 25576212a3
Instruct the system to respond using Markdown (#161)
This for a default behavior.
This makes the answer of the AI more user-friendly to read.
This also increases the accuracy of the answer to be well-formatted.
2023-03-29 19:46:36 +08:00
Ayaka Mikazuki 191739d995 remove free APIs
Remove free APIs as they ran out of funding. Users can still use
third-party free APIs by using custom endpoints.

Ref: #144

Squashed commit of the following:

commit 81e9b9963ea8c4532c110bfe2ddb67b603683875
Author: Ayaka Mikazuki <ayaka@mail.shn.hk>
Date:   Mon Mar 27 17:30:11 2023 +1000

    update translations

commit 7bf023ed2f392e79026dd1d4154b83397bba2249
Author: Ayaka Mikazuki <ayaka@mail.shn.hk>
Date:   Mon Mar 27 16:44:36 2023 +1000

    update API menu

commit 641b34cfafbc8e10d3ba9730f58a3f10a57dd52b
Author: Jing Hua <tohjinghua123@gmail.com>
Date:   Mon Mar 27 14:19:49 2023 +0800

    remove api free option
2023-03-27 17:32:54 +10:00
Jing Hua 7a35e20fbb feat: add price of tokens 2023-03-26 10:23:09 +08:00
Jing Hua 9cff66f783 change tokeniser to tiktoken 2023-03-25 22:51:32 +08:00
Jing Hua aefca02620 api popup 2023-03-25 13:04:06 +08:00
akira0245 58858d51ac
feat: not adding first system message if default system message is empty (#129)
* feat: not adding first system message if default system message is empty

* formatting

---------

Co-authored-by: Jing Hua <59118459+ztjhz@users.noreply.github.com>
2023-03-25 00:16:22 +08:00
Jing Hua b0bfe56fd3 feat: customise default model parameters and system message
Fixes #97, Fixes #89, Fixes #35
2023-03-20 16:06:46 +08:00
Jing Hua e0155e3f4f set sharegpt api endpoint as default 2023-03-19 13:33:53 +08:00
Jing Hua e287e443c9 update api menu 2023-03-19 13:23:17 +08:00
Jing Hua 1069f62fc6 added new api endpoint
Fixes #98
2023-03-19 13:00:34 +08:00
Jing Hua bdc95cb305 feat: model max_tokens customisation
Fixes #92
2023-03-19 12:46:31 +08:00
Jing Hua 84ae0ae8df feat: gpt-4 support
fixes #80
2023-03-17 14:23:36 +08:00
Jing Hua ca98ebb4a6 update default prompts 2023-03-13 22:28:14 +08:00
Jing Hua b9657c6325 feat: prompt library 2023-03-13 21:54:05 +08:00
akira0245 4c80898078
feat: more request parameters (#62)
* feat: more request parameters

added top_p and frequency_penalty

* fix: value range of top_p

valid top_p range should be 0-1

* migration + change chats validation

* style chat title

---------

Co-authored-by: Jing Hua <tohjinghua123@gmail.com>
2023-03-13 13:01:24 +08:00
Jing Hua 9f1529d07a update api menu and readme 2023-03-12 19:05:26 +08:00
Jing Hua 443d4d3454 chat message optimsiation, fixed copy code during generation
fixes 17, fixes 53
2023-03-11 19:18:00 +08:00
Jing Hua b080c185f4 feat: auto generate title 2023-03-09 21:00:29 +08:00
Jing Hua a009be9986
feat: model parameters customisation (#31)
issue #14
2023-03-06 22:22:05 +08:00
Jing Hua 05cfd7f34f First Commit 2023-03-04 06:17:11 +08:00