pengx17
1b633b5135
chore: update prompt ( #7117 )
...
fix AFF-1198
2024-05-31 10:04:42 +00:00
forehalo
622239fd41
fix(server): runtime config overrides won't affect static startup ( #7110 )
2024-05-30 09:11:34 +00:00
darkskygit
40b35b7bc2
chore: update prompts ( #7091 )
2024-05-28 08:07:12 +00:00
doouding
0dd0432531
fix(server): update mind map prompt ( #7079 )
2024-05-27 12:01:45 +00:00
forehalo
aff166a0ef
feat(server): add administrator feature ( #6995 )
2024-05-27 11:17:21 +00:00
Chen
919e40f28e
feat: support more ai image actions ( #7027 )
2024-05-24 18:35:32 +08:00
darkskygit
0302a85585
feat: add customer event ( #7029 )
2024-05-24 08:40:33 +00:00
darkskygit
0c42849bc3
feat: update i2i model ( #7041 )
2024-05-23 14:27:12 +00:00
darkskygit
f2866f57c9
feat: add lora support ( #6977 )
2024-05-20 05:05:34 +00:00
darkskygit
a3f3d09764
feat: add upscaler & bg remover ( #6967 )
2024-05-16 11:09:34 +00:00
darkskygit
37cb5b86f4
fix: migrate typo ( #6948 )
2024-05-15 14:03:09 +00:00
darkskygit
7e7a4120aa
feat: renew models ( #6934 )
2024-05-15 09:13:05 +00:00
LongYinan
b036f1b5c9
Revert "feat: renew models ( #6926 )"
...
This reverts commit 5bf9351be4 .
2024-05-14 18:46:32 +08:00
darkskygit
5bf9351be4
feat: renew models ( #6926 )
2024-05-14 08:54:58 +00:00
fundon
d8b3a0b6d5
fix: improve make it real action ( #6830 )
2024-05-09 08:15:34 +00:00
darkskygit
8194cb7773
chore: update prompts ( #6782 )
2024-05-06 12:42:12 +00:00
pengx17
4ea31cbb35
fix: update prompts ( #6779 )
...
fix AFF-1021
2024-05-06 10:58:56 +00:00
darkskygit
13f40f435d
feat: improve query performence ( #6764 )
2024-05-06 09:12:04 +00:00
pengx17
1303a6a8b4
fix: update prompts (find actions) ( #6773 )
...
fix AFF-1019
2024-05-06 08:29:51 +00:00
pengx17
eb7904bf62
fix(core): prompt message tunning ( #6747 )
...
fix AFF-1003
2024-04-30 13:18:20 +08:00
pengx17
7c5a259e84
fix(core): update prompts ( #6738 )
...
Update prompts:
When sending a message to openai, we actually send two messages.
There are two issues here:
1. the role in the first message shall be user or system
2. the content in the first message is not being interpolated at all.
```
[
{
role: "assistant",
createdAt: "2024-04-27T06:30:34.820Z",
params: {
language: "French",
},
content: "You are a translation expert, please translate the following content into French, and only perform the translation action, keeping the translated content in the same format as the original content:\n\n \"\"\"\"\n\n \n\n \"\"\"\"",
},
{
role: "user",
content: "Basic things you should know:",
attachments: undefined,
params: {
language: "French",
},
createdAt: "2024-04-29T09:42:11.466Z",
},
]
```
In this PR I removed `content` from prompts and let open ai use the second message (user) as the input.
2024-04-29 11:02:16 +00:00
darkskygit
ea3f427918
fix: large transaction ( #6695 )
2024-04-25 08:33:21 +00:00
pengx17
050efe3749
fix(core): update prompts ( #6693 )
...
update based on latest docs
2024-04-25 05:26:50 +00:00
doouding
6525c99631
feat(server): new prompt for expand mind map ( #6678 )
...
feat(server): new prompt for expand mind map
feat: add migration file
2024-04-24 07:10:11 +00:00
pengx17
71a5be5385
fix(server): update prompts ( #6664 )
...
fix AFF-921
2024-04-22 14:09:53 +00:00
darkskygit
657a5250ad
feat: update chat prompt ( #6639 )
...
fix AFF-878
fix AFF-852 (maybe)
2024-04-19 12:34:02 +00:00
darkskygit
83d8587a45
fix: missing feature upsert ( #6585 )
2024-04-17 02:01:01 +00:00
forehalo
e1c292b8b5
feat(server): support registering ai early access users ( #6565 )
2024-04-16 13:54:08 +00:00
darkskygit
3d15e8353b
feat: refresh prompts ( #6568 )
2024-04-16 10:26:54 +00:00
darkskygit
1b0864eb60
feat: check quota correctly ( #6561 )
2024-04-16 09:41:48 +00:00
darkskygit
1a3d1a5421
fix: upgrade plan correctly ( #6543 )
2024-04-15 06:20:24 +00:00
pengx17
9b620ecbc9
fix(core): use backend prompts ( #6542 )
2024-04-12 21:29:14 +08:00
darkskygit
fc51b68674
fix: pick copilot provider depend on model ( #6540 )
2024-04-12 12:01:39 +00:00
regischen
244e3fd71b
fix: change action ( #6519 )
2024-04-12 05:17:10 +00:00
fundon
13b39fc5f3
feat(core): ai images ( #6506 )
2024-04-12 03:58:33 +00:00
darkskygit
9f349a2300
feat: text to image impl ( #6437 )
...
fix CLOUD-18
fix CLOUD-28
fix CLOUD-29
2024-04-10 12:13:39 +00:00
darkskygit
46a368d7f1
feat: add session impl ( #6254 )
2024-04-10 11:15:25 +00:00
EYHN
f2adbdaba4
style: enable import-x/no-duplicates ( #6279 )
2024-03-25 03:55:33 +00:00
liuyi
a4cd8d6ca3
chore(server): organize server configs ( #6169 )
2024-03-19 02:05:56 +00:00
liuyi
268ca03f62
fix(server): ensure selfhost admin created after all data migrated ( #6163 )
...
fix #6154
cp to canary
2024-03-18 11:43:12 +08:00
liuyi
f2ec81b2d0
feat(server): user connected accounts migration ( #6103 )
2024-03-13 09:28:52 +00:00
liuyi
fb3a0e7b8f
refactor(server): auth ( #5895 )
...
Remove `next-auth` and implement our own Authorization/Authentication system from scratch.
## Server
- [x] tokens
- [x] function
- [x] encryption
- [x] AuthController
- [x] /api/auth/sign-in
- [x] /api/auth/sign-out
- [x] /api/auth/session
- [x] /api/auth/session (WE SUPPORT MULTI-ACCOUNT!)
- [x] OAuthPlugin
- [x] OAuthController
- [x] /oauth/login
- [x] /oauth/callback
- [x] Providers
- [x] Google
- [x] GitHub
## Client
- [x] useSession
- [x] cloudSignIn
- [x] cloudSignOut
## NOTE:
Tests will be adding in the future
2024-03-12 10:00:09 +00:00
Peng Xiao
1c5279747b
fix(server): migration script running on windows ( #6077 )
2024-03-12 16:19:48 +08:00
DarkSky
d665eaec34
feat: refresh new workspace feature ( #5834 )
2024-02-19 21:58:54 +08:00
liuyi
bef266ae3b
refactor(server): reorganize server configs ( #5753 )
2024-02-02 08:32:07 +00:00
DarkSky
fc8a48fb43
feat: add business blob limit ( #5734 )
2024-01-29 08:32:35 +00:00
liuyi
e516e0db23
refactor(server): plugin modules ( #5630 )
...
- [x] separates modules into `fundamental`, `core`, `plugins`
- [x] optional modules with `@OptionalModule` decorator to install modules with requirements met(`requires`, `if`)
- [x] `module.contributesTo` defines optional features that will be enabled if module registered
- [x] `AFFiNE.plugins.use('payment', {})` to enable a optional/plugin module
- [x] `PaymentModule` is the first plugin module
- [x] GraphQLSchema will not be generated for non-included modules
- [x] Frontend can use `ServerConfigType` query to detect which features are enabled
- [x] override existing provider globally
2024-01-22 07:40:28 +00:00
DarkSky
8f80bdb7af
feat: new free plan ( #5604 )
2024-01-17 07:20:18 +00:00
liuyi
24e18dd475
fix: improve self-host convenience ( #5582 )
2024-01-15 09:24:53 +00:00
liuyi
4c49b62ab7
fix(server): node imports order ( #5583 )
2024-01-14 05:47:56 +00:00