Commit Graph

31 Commits

Author SHA1 Message Date
darkskygit
5872b884a5 fix: increase image limit of copilot (#7756)
fix AF-1080 AF-1154
2024-08-06 09:15:40 +00:00
darkskygit
73a6723d15 fix: use correct user id in forked session (#7710) 2024-08-05 09:03:11 +00:00
darkskygit
386d766597 fix: forked session query condition (#7568) 2024-07-22 12:28:05 +00:00
DarkSky
dcb9d75db7 feat: allow sort and filter forked session (#7519) 2024-07-18 11:08:47 +08:00
darkskygit
bf6c9a5955 feat: add prompt level config (#7445) 2024-07-08 08:11:22 +00:00
darkskygit
e8285289fe feat: improve histories query for forked session (#7414) 2024-07-03 04:49:19 +00:00
darkskygit
61870c04d0 feat: fork session support (#7367) 2024-07-03 03:10:09 +00:00
liuyi
54fc1197ad feat(server): introduce user friendly server errors (#7111) 2024-06-17 11:30:58 +08:00
darkskygit
a5f9bfdda9 fix: gql result check for clean history (#7154) 2024-06-05 07:49:40 +00:00
darkskygit
937b8bf166 feat: history cleanup (#7007)
fix AFF-1069
2024-05-24 08:00:05 +00:00
darkskygit
f8fee55b3d fix: combine message correctly (#7038) 2024-05-23 06:16:31 +00:00
Brooooooklyn
c7ddd679fd feat(server): use native tokenizer impl (#6960)
### Benchmark

`yarn workspace @affine/server-native bench`

```
┌─────────┬────────────┬─────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name  │ ops/sec │ Average Time (ns)  │ Margin   │ Samples │
├─────────┼────────────┼─────────┼────────────────────┼──────────┼─────────┤
│ 0       │ 'tiktoken' │ '5'     │ 176932518.76000002 │ '±4.71%' │ 100     │
│ 1       │ 'native'   │ '16'    │ 61041597.51000003  │ '±0.60%' │ 100     │
└─────────┴────────────┴─────────┴────────────────────┴──────────┴─────────┘
```
2024-05-16 07:55:10 +00:00
darkskygit
0076359d6a feat: add retry support for copilot (#6947) 2024-05-15 11:02:37 +00:00
darkskygit
13f40f435d feat: improve query performence (#6764) 2024-05-06 09:12:04 +00:00
pengx17
eb7904bf62 fix(core): prompt message tunning (#6747)
fix AFF-1003
2024-04-30 13:18:20 +08:00
darkskygit
850bbee629 test: copilot unit & e2e test (#6649)
fix CLOUD-31
2024-04-26 09:43:35 +00:00
darkskygit
a0c219e036 feat: use default params if not provided (#6701) 2024-04-25 10:59:46 +00:00
darkskygit
01a0f60d03 fix: history attachment query (#6670) 2024-04-23 03:34:59 +00:00
forehalo
94de6f5853 fix(server): always return created timestamp of chat messages (#6658) 2024-04-22 08:39:42 +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
97669acb40 chore: enable ai feature in dev (#6618) 2024-04-19 08:12:53 +00:00
forehalo
d9e6561762 feat(server): add created timestamp to history (#6607) 2024-04-18 07:06:47 +00:00
DarkSky
ccb3bed91e feat: add blob upload support for copilot (#6584) 2024-04-17 14:05:38 +00:00
darkskygit
1b0864eb60 feat: check quota correctly (#6561) 2024-04-16 09:41:48 +00:00
darkskygit
2336638996 fix: cannot query chat history (#6539) 2024-04-12 12:16:43 +00:00
darkskygit
e77475aca5 feat: detailed copilot histories (#6523) 2024-04-12 08:39:32 +00:00
DarkSky
db1206dbd5 fix: re-create session should skip rewrite messages (#6513) 2024-04-11 12:22:45 +08: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
7c38a54f81 feat: copilot controller (#6272)
fix CLOUD-27
2024-04-10 11:58:40 +00:00
darkskygit
e6a576551a feat: add copilot impl (#6230)
fix CLOUD-22
fix CLOUD-24
2024-04-10 11:15:32 +00:00
darkskygit
46a368d7f1 feat: add session impl (#6254) 2024-04-10 11:15:25 +00:00