Nathan.fooo
3f55cea9ca
chore: using json stream to deserialize data ( #605 )
...
* chore: update log
* chore: use json stream
* chore: use json stream
* chore: fix compile
* chore: fix compile
2024-06-04 22:42:27 +08:00
Nathan.fooo
56b5c4c843
chore: disable old version history test ( #604 )
2024-06-04 20:41:31 +08:00
Nathan.fooo
6bb2a20888
fix: nginx ai test ( #603 )
...
* chore: add config for ai/chat
* chore: update config
2024-06-04 20:11:19 +08:00
Nathan.fooo
093c3ef430
fix: disable ai message test ( #600 )
2024-06-04 16:52:14 +08:00
Bartosz Sypytkowski
58e01f4e8d
fix: index documents with missing embeddings at service start ( #597 )
...
* feat: appflowy-indexer indexes documents with missing embeddings at start
* chore: add tests to check initial indexing of collabs
* chore: log user search requests and response
* fix: wrong appflowy openai api key env var name
* chore: fill openai keys for integration testing
* chore: silence flaky test
2024-06-04 16:50:06 +08:00
Nathan.fooo
50ff40f9d1
chore: add ai completoin scope ( #599 )
...
* chore: add ai completoin scope
* chore: fix ci to run test
2024-06-04 10:49:28 +08:00
Nathan.fooo
da9b9d730e
chore: fix ai docker compose ( #598 )
2024-06-03 20:01:31 +08:00
Zack
45bfcc0a31
Merge pull request #596 from AppFlowy-IO/nginx-ai-config
...
fix: nginx optional resolution for ai service
2024-06-03 11:03:51 +08:00
Zack Fu Zi Xiang
49fe92c725
fix: nginx optional resolution for ai service
2024-06-03 09:56:22 +08:00
Nathan.fooo
b36715dc24
chore: generate answer manually ( #594 )
...
* chore: generate answer manually
* chore: rename
* chore: return reply message id
* chore: save message
* chore: commit schema files
2024-06-03 08:06:23 +08:00
Nathan.fooo
1cc5b58254
chore: update client api ( #593 )
2024-06-02 20:20:14 +08:00
Nathan.fooo
edfcb5c1ea
chore: extend chat message with meta ( #592 )
2024-06-01 19:32:39 +08:00
Nathan.fooo
89030c420f
chore: rename open api env name ( #591 )
2024-05-31 10:46:18 +08:00
nathan
33a68983b0
chore: update logs
2024-05-30 21:41:01 +08:00
Nathan.fooo
1537c4d1f6
chore: update chat test ( #590 )
2024-05-30 17:15:13 +08:00
Mathias Mogensen
06272364b7
feat: get workspace member by user id ( #588 )
...
* feat: get workspace member by user id
* chore: remove unneccessary arg
2024-05-30 07:50:58 +08:00
Nathan.fooo
9b4bfce616
chore: fix ai client test ( #589 )
2024-05-30 07:50:25 +08:00
Bartosz Sypytkowski
128e978016
chore: add appflowy indexer service start to cargo run xtask ( #586 )
2024-05-29 23:45:30 +08:00
Bartosz Sypytkowski
24429357de
chore: fix after merge compilation issues ( #585 )
2024-05-29 17:09:49 +08:00
Bartosz Sypytkowski
c4702bbbdf
feat: Workspace token usage ( #584 )
...
* feat: register open ai token usage during indexing
* feat: register open ai token usage during search
* chore: fixed open ai token usage when searching for documents
2024-05-29 16:07:56 +08:00
Khor Shu Heng
a6bcbd583f
chore: share library for authentication ( #576 )
...
* chore: share library for authentication
* fix: return error from requesting app data instead of unwrap
* fix: return internal server error when jwt secret is missing
* chore: remove argon dep from main crate
---------
Co-authored-by: nathan <nathan@appflowy.io>
2024-05-29 16:00:21 +08:00
Bartosz Sypytkowski
219d84af69
chore: add appflowy indexer service image to docker publish ( #583 )
2024-05-29 13:46:39 +08:00
Bartosz Sypytkowski
d3e59fa801
feat: Appflowy-indexer service and /api/search endpoint ( #582 )
...
* feat: implement appflowy-indexer and search api endpoint
* chore: store embedding content type
* chore: more descriptive messages for open ai missing key
* chore: fix sqlx errors in tests
* chore: document watcher - change plain text rendering to use depth-first scan
* chore: added nested document blocks example
2024-05-28 21:09:29 +08:00
nathan
1a32339056
chore: fix typo
2024-05-27 17:08:47 +08:00
Nathan.fooo
80d46a2e3c
chore: Clean redis update script ( #581 )
...
* chore: rename folder
* chore: add script to remove redis stream
* chore: add script to remove redis stream
* chore: fix ci
2024-05-27 16:48:13 +08:00
Nathan.fooo
115d046094
chore: periodicall check redis stream capacity ( #580 )
2024-05-27 14:09:57 +08:00
Nathan.fooo
3f2d5f0785
chore: optimize redis stream space usage ( #579 )
...
* chore: set maxlen for redis stream
* chore: update log
* chore: set expiration time
2024-05-27 13:22:14 +08:00
Khor Shu Heng
93b4a1516c
feat: add postgres listeners for collab service ( #575 )
2024-05-27 09:12:32 +08:00
Nathan.fooo
559d924cd1
feat: stream chat message ( #577 )
...
* chore: save author id
* chore: stream response
* chore: stream chat message
2024-05-26 22:44:08 +08:00
Nathan.fooo
ae3e075475
chore: Integrate with client-api, update chat message ( #574 )
...
* chore: update
* chore: get chat message with next back option
* chore: update next back
* chore: return answer
* chore: return answer
* chore: return answer
* chore: update client api
* chore: fix ci
2024-05-24 15:04:50 +08:00
Nathan.fooo
7284430cad
chore: add test ( #571 )
2024-05-23 21:03:36 +08:00
Nathan.fooo
4eb1e6bceb
chore: generate history using redis steam ( #570 )
...
* chore: combine test
* chore: add snapshot test
* chore: add test
2024-05-23 07:57:20 +08:00
Nathan.fooo
05e7f1cda7
Integrate ai chat ( #569 )
...
* chore: fix compile
* chore: implement client api
* chore: implement client api
* chore: clippy
2024-05-22 11:18:07 +08:00
Nathan.fooo
5f126375ed
chore: separate client api ( #567 )
2024-05-21 12:20:15 +08:00
Kilu.He
27cb3d01d5
feat: add get user workspace ( #526 )
...
* feat: add get user workspace
* feat: support batch get collab
* fix: decode batch collab
* fix: modified the method of batch_get_collab to post
* fix: modified a private function for batch collab
* fix: warning
2024-05-21 10:08:09 +08:00
Khor Shu Heng
67d9fad7d7
chore: migrate collab storage to appflowy-collaborate ( #566 )
...
* chore: migrate collab storage to appflowy-collaborate
* fix: clippy error
* chore: remove handler
---------
Co-authored-by: nathan <nathan@appflowy.io>
2024-05-21 10:06:26 +08:00
Zack
ec7eb54bfc
chore: Self host improvement ( #561 )
...
* fix: remove multiple ways to specify database name
* feat: resent email for already invited user
* feat: mailer address from smtp username
* feat: allow user defined smtp port
2024-05-18 08:33:08 +08:00
Nathan.fooo
2736fa60a7
chore: integrate redis stream ( #559 )
...
* chore: integrate redis stream
* chore: make CollabUpdateStreaming::send_update synchronous
---------
Co-authored-by: Bartosz Sypytkowski <b.sypytkowski@gmail.com>
2024-05-18 08:28:57 +08:00
Khor Shu Heng
fbdcbd6e08
chore: migrate collab actors to appflowy-collaborate ( #556 )
2024-05-17 12:22:43 +08:00
Nathan.fooo
2fae260e4f
chore: complete text endpoints ( #557 )
...
* chore: complete text endpoints
2024-05-16 22:48:44 +08:00
Khor Shu Heng
c79267d42a
feat: migrate collab access control to collaboration service ( #548 )
...
* feat: migrate collab access control to collaborate service
* feat: migrate workspace access control to separate crate
2024-05-15 15:24:07 +08:00
Zack
6cc46e3779
Merge pull request #551 from AppFlowy-IO/jwt-exp-verify
...
fix: remove unneeded time verification
2024-05-13 10:53:02 +08:00
Zack Fu Zi Xiang
40369e6915
fix: remove unneeded time verification
2024-05-13 09:53:04 +08:00
Nathan.fooo
c491f1a560
chore: fix ci ( #549 )
...
* chore: fix ci
2024-05-12 21:02:28 +08:00
Nathan.fooo
d994b10115
chore: appflowy ai client ( #547 )
...
* chore: appflowy ai client
* chore: clippy
* chore: clippy
* chore: fix ci
* chore: disable index search
2024-05-12 09:23:32 +08:00
Nathan.fooo
4c00ddd593
chore: Chat history ( #546 )
...
* chore: imple sql curd
* chore: update chat
* chore: select messages
* chore: update test
* chore: update schema
* chore: update
2024-05-11 20:41:21 +08:00
Zack
348217a117
fix: check is new before creating user ( #545 )
2024-05-10 16:23:15 +08:00
Khor Shu Heng
d9d874ab8a
feat: migrate collab cache to collaborate service ( #524 )
...
Co-authored-by: nathan <nathan@appflowy.io>
2024-05-09 23:12:13 +08:00
Nathan.fooo
ef96b42e43
chore: Collab patch ( #541 )
...
* chore: bump collab
* chore: use patch
* chore: update collab
2024-05-09 15:16:07 +08:00
Zack
dc76632ee2
Merge pull request #535 from AppFlowy-IO/fix/batch-get-collab
...
chore: add http post for batch get collab
2024-05-09 12:09:40 +08:00