Commit Graph
409 Commits
Author SHA1 Message Date
liwenrui a272bd6979 * add gpt4 to ai. 2023-12-08 10:35:48 +08:00
liwenrui 7e29e105a2 * refuse to chat if model is disabled. 2023-11-13 17:24:07 +08:00
liwenrui a4aed31d05 * fix checking for undefined property. 2023-11-13 09:58:29 +08:00
liwenrui b55e541cd3 * add lang for ai model secret, better late than never. 2023-11-09 16:23:48 +08:00
liwenrui 0541236ccd * skip submitting form when input is marked busy. 2023-11-08 11:08:14 +08:00
liwenrui f19f0c325d * check if model is enabled when checking ai configurations. 2023-11-08 11:04:07 +08:00
liwenrui 36323d82f1 * tweak chat reset button styles. 2023-11-08 08:44:35 +08:00
liwenrui aff7e2f8ca * adjust welcome messages of ai chat. 2023-11-07 17:29:47 +08:00
liwenrui 42e494808b * replace ai chat background image. 2023-11-07 16:49:38 +08:00
liwenrui f91f2d2fac * tweak ai chatting input styles. 2023-11-07 14:10:27 +08:00
liwenrui 7e20793a65 * remove pointer mouse from disabled submit. 2023-11-07 13:41:22 +08:00
liwenrui 702dbc0b07 * tweak ai chatting styles. 2023-11-07 13:35:49 +08:00
liwenrui 5c79bbfa8d * use stored azure cred. 2023-11-01 15:15:29 +08:00
liwenrui 9fee9e1074 * fix chatting with baidu ernie. 2023-11-01 14:55:57 +08:00
liwenrui d8134f3cb0 + basic ai chatting. 2023-11-01 14:14:26 +08:00
liwenrui 4c43ca9b8e * print prompt menus, IPD edition. 2023-10-16 09:22:28 +08:00
liwenrui d2380703b6 * quit audit on exception. 2023-10-10 11:03:51 +08:00
liwenrui eeb77c6e88 * refactor. 2023-10-10 09:49:22 +08:00
liwenrui 351ca304d3 * show prompts as model neutral. 2023-10-10 09:47:24 +08:00
liwenrui 070486a918 * add exception for the scenario where the second step function call fails. 2023-10-10 09:30:25 +08:00
liwenrui 497f40d55a * fix openai authentication headers. 2023-10-10 08:46:54 +08:00
liwenrui 10d97f4964 * tweak ernie function calling. 2023-10-09 08:39:39 +08:00
liwenrui bc6080c425 * adapt ai methods for baidu ernie. 2023-10-08 17:32:53 +08:00
liwenrui c93c9b0969 + baidu ernie configurations. 2023-10-08 16:38:49 +08:00
liwenrui 57271632ec * add specialized function for getting JSON from LLMs without forced function calling feature. 2023-10-08 09:54:02 +08:00
hufangzhou 96d7fb60d4 * Complete language items. 2023-09-28 15:01:27 +08:00
hufangzhou f21d9727c6 * Fix bug #38435. 2023-09-08 05:21:26 +00:00
Chenjianyu ddc3b6db70 * change loading indicator language. 2023-09-05 10:09:32 +08:00
Chenjianyu a2b5e1ed57 * determine form input index starts with 0 or 1. 2023-09-05 10:09:32 +08:00
Chenjianyu df7de46528 * use the iframe container instead of the document body element to display loading indicator, bug #37816. 2023-09-04 15:34:42 +08:00
liwenrui 96f9e9e2a9 * force tab for ai prompt view, bug #37832. 2023-09-04 13:31:29 +08:00
Chenjianyu d427c7664c * show system name as the system. 2023-09-04 11:13:29 +08:00
Chenjianyu cf7f300dd3 * Revert "show the system real name."
This reverts commit ab26342191.
2023-09-04 11:13:29 +08:00
Chenjianyu 00e79f72f8 * fix error message style, bug #37919. 2023-09-01 16:31:12 +08:00
Chenjianyu 5f879f96ae * add a judgement for prompt menu. 2023-08-31 17:15:04 +08:00
Chenjianyu 6a01a498b0 * refactor, add a method to determine the AI model is configured or not. 2023-08-31 17:15:04 +08:00
Chenjianyu 35d9f9da38 * hide the AI for the ipd version. 2023-08-31 13:47:47 +08:00
Chenjianyu ab26342191 * show the system real name. 2023-08-31 10:44:47 +08:00
Chenjianyu f96e7f2e09 * change the AI module display order. 2023-08-31 10:04:48 +08:00
Chenjianyu 3215c0020b * add a save success message. 2023-08-30 17:28:01 +08:00
Chenjianyu 201ea4320f * hide the crating prompt button for the open source version. 2023-08-30 17:12:41 +08:00
Chenjianyu 760e3c298d * disable the test connection button after clicking it. 2023-08-30 16:59:32 +08:00
Chenjianyu 9d69fead76 * fix ai prompt button duplicate location. 2023-08-30 16:54:32 +08:00
Chenjianyu 078d3cfd60 * fix error messages display. 2023-08-30 15:16:21 +08:00
Chenjianyu b5f6d33d3a * change the code style to avoid a code transition problem. 2023-08-30 13:44:46 +08:00
hufangzhou 22b3d46ca4 * Add 18.7 version. 2023-08-29 13:51:30 +08:00
Chenjianyu 8523aefb37 * display usernames on the prompt list. 2023-08-29 09:10:00 +08:00
Chenjianyu 1cab370d07 * fix a object key. 2023-08-28 15:45:36 +08:00
Chenjianyu e7ff8e3b64 * fix try to get related objects. 2023-08-28 14:00:46 +08:00
Chenjianyu 7aec4845ed * fix try to get related objects. 2023-08-28 13:58:25 +08:00