Commit Graph

84 Commits

Author SHA1 Message Date
forehalo
4ec89ebd69
chore(server): standardize server db names and columns (#7674) 2024-07-31 07:59:23 +00:00
darkskygit
3f0e4c04d7
feat: refector prompt refresh (#7605) 2024-07-26 04:51:07 +00:00
darkskygit
470262d400
feat: migrate fal workflow to server (#7581) 2024-07-26 04:04:39 +00:00
forehalo
dddbfe6473
feat(server): setup api for selfhost deployment (#7569) 2024-07-23 10:39:34 +00:00
darkskygit
7d7399a9eb
chore: update name in one shot (#7567) 2024-07-22 11:03:41 +00:00
darkskygit
145872b9f4
chore: refresh unnamed user (#7544) 2024-07-19 04:01:39 +00:00
forehalo
90c00b6db9
Revert "fix(server): wrong usage of optl (#6714)"
This reverts commit 4868f6e611.
2024-07-19 11:31:01 +08:00
forehalo
4868f6e611
fix(server): wrong usage of optl (#6714) 2024-07-17 08:17:14 +00:00
darkskygit
0739e10683
feat: adapt workflow for ppt & minimap (#7464) 2024-07-10 10:13:17 +00:00
darkskygit
556956ced2
feat: update ppt prompt (#7446) 2024-07-08 08:11:31 +00:00
darkskygit
bf6c9a5955
feat: add prompt level config (#7445) 2024-07-08 08:11:22 +00:00
forehalo
de91027852
feat(server): support lifetime subscription (#7405)
closes CLOUD-48

- [x] lifetime subscription quota
- [ ] tests
2024-07-08 07:41:26 +00:00
darkskygit
cffaf815e1
feat: add more workflow executor (#7231) 2024-06-25 10:54:16 +00:00
darkskygit
fe89ecb1d3
feat: workflow executor (#7159)
fix AFF-1221 AFF-1232
2024-06-25 08:40:47 +00:00
forehalo
7b3673ae82
chore: assign todos (#7297) 2024-06-21 07:54:14 +00:00
darkskygit
ca9a16b728
feat: add workflow resolver (#7123)
fix AFF-1166
2024-06-07 05:53:45 +00:00
darkskygit
44b0ea2b6c
feat: no branches workflow support (#7119)
fix AFF-1165 AFF-1164
2024-06-07 05:53:39 +00:00
darkskygit
db0837936a
feat: fetch fal stream correctly (#7141) 2024-06-04 09:30:11 +00:00
forehalo
01fc1ea835
fix(server): selfhost fixes (#7140)
fixes #6708, fixes #7139
2024-06-04 08:42:25 +00:00
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