Nathan.fooo
430e3e15c9
fix: chat stream ( #620 )
...
* chore: fix chat stream
2024-06-13 22:46:49 +08:00
Bartosz Sypytkowski
d02c7e4ea7
feat: add workspace label to search open ai token metrics
2024-06-12 08:27:37 +02:00
Bartosz Sypytkowski
0b93190cbd
chore: let prometheus track open ai tokens used on search
2024-06-12 08:20:57 +02:00
Nathan.fooo
ff4384fbd0
feat: translate api endpoint ( #612 )
...
* chore: support translate
* chore: support translate
* chore: update endpoint structs
2024-06-12 12:37:11 +08:00
Nathan.fooo
d0467e7e2e
feat: Stream chat message ( #610 )
...
* chore: test stream
* chore: fix test
* chore: fix test
* chore: add log
* chore: fix parsing
* chore: fix parsing
* chore: fix parsing
* chore: create answer
* chore: create answer
2024-06-08 22:51:19 +08:00
Bartosz Sypytkowski
b52369de7f
feat: add workspace settings with disable indexing option ( #606 )
...
* feat: add workspace settings with disable indexing option
* chore: added api workspace settings endpoint
* chore: add workspace settings read and write to client api
* chore: add tests for workspace settings client api
* fix: enforce authorization rules on workspace settings api
* chore: fix appflowy indexer test configuration
* chore: add dotenvy to appflowy indexer tests
* chore: override appflowy indexer env vars for tests
* chore: add appflowy indexer preindex env var
2024-06-06 09:26:21 +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
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
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
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
Bartosz Sypytkowski
24429357de
chore: fix after merge compilation issues ( #585 )
2024-05-29 17:09:49 +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
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.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
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
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
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
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 Fu Zi Xiang
fd2115f54f
feat: add post method for batch get collab
2024-05-09 11:01:16 +08:00
Zack Fu Zi Xiang
cb31a863ac
Merge branch 'main' into fix/batch-get-collab
2024-05-09 10:46:24 +08:00
Nathan.fooo
388d38428b
chore: revamp post realtime endpoint ( #536 )
...
* chore: revamp post realtime endpoint
* chore: fix clippy
* chore: fix fmt
2024-05-08 22:06:37 +08:00
Zack Fu Zi Xiang
5f6e92e80d
Merge branch 'main' into fix/batch-get-collab
2024-05-08 18:02:47 +08:00
Nathan.fooo
70262a1ac4
chore: try to not block actor mailbox ( #534 )
...
* chore: add test
* chore: spawn task to handle message
* chore: update error message
2024-05-08 16:54:05 +08:00
Zack Fu Zi Xiang
e87e88446c
chore: use http query instead of json for batch get collab
2024-05-08 16:29:27 +08:00
Nathan.fooo
c115414f5a
chore: return no content ( #523 )
2024-05-05 10:52:56 +08:00
Nathan.fooo
79bb510aaf
ci: run history test ( #513 )
...
* ci: run history test
* chore: fix ci
2024-05-01 16:28:07 +08:00
Zack Fu Zi Xiang
9adf3f883c
feat: improve email workspace invitations
2024-04-30 11:07:29 +08:00
Zack Fu Zi Xiang
206c7a29ea
chore: merge with main
2024-04-29 23:35:03 +08:00
Zack Fu Zi Xiang
6e74449ab1
feat: accept workspace invite email
2024-04-29 19:40:20 +08:00
Nathan.fooo
7b4b9d0c10
chore: folder data check ( #496 )
...
* chore: folder data check
* chore: stop observe remote change when specific type of collaboration object override with incorrect data
* chore: commit sqlx file
2024-04-26 13:20:06 +08:00
Nathan.fooo
a0593b5502
chore: refactor return response with object id ( #494 )
...
* chore: refactor return response with object id
* chore: fix ci
* chore: fix ci
2024-04-24 12:07:54 +08:00
Nathan.fooo
efbe9c4a93
chore: move collab rt crate ( #489 )
...
* chore: create appflowy collaborate crate
* chore: remove collab-rt
* chore: fmt
* chore: main
2024-04-22 12:14:41 +08:00
Nathan.fooo
970fbaed57
feat: using transaction to write multiple records ( #477 )
...
* chore: impl batch write
* chore: update test
* chore: using save point to optimize write
* chore: update docs
* chore: fix test
* chore: increase write speed
* chore: use redis sorted set
* chore: fallback to write to disk directly when fail to queue
* chore: fix test
* chore: fix test
* chore: update log
* chore: add metrics
2024-04-19 15:22:57 +08:00
Nathan.fooo
4168d72390
chore: using redis conn for each action ( #476 )
...
* chore: batch insert
* chore: opti redis conn
* chore: fix test
2024-04-17 11:41:50 +08:00
Nathan.fooo
8ab7815740
chore: reduce pool lock ( #475 )
...
* chore: reduce pool lock
* chore: clippy
2024-04-16 20:26:26 +08:00
Nathan.fooo
baeeb2c5ce
chore: do not wait insert to redis finish when calling get collab ( #468 )
2024-04-13 10:26:05 +08:00
Zack
9a5636caec
chore: get collab http ( #463 )
...
* chore: get collab http
* fix: use correct version
* fix: collab url
* feat: update collab access control middleware
2024-04-12 11:08:38 +08:00
Nathan.fooo
b1c3d779ba
chore: reduce save collab db operations ( #455 )
...
* chore: reduce save collab db operations
* chore: clippy
* chore: add test
* chore: add test
* chore: add test
2024-04-08 14:50:51 +08:00
Nathan.fooo
b1a6338527
refactor: actix-ws ( #453 )
...
* chore: deduplicate ws message
* chore: remove retry when sending client ws message
* chore: prepare client/server actor test
2024-04-07 12:43:29 +08:00
Nathan.fooo
2cc5d75d01
chore: use release build in docker ( #440 )
...
* chore: use release build in docker
* chore: remove assert
* chore: update path
2024-04-03 14:30:46 +08:00
Nathan.fooo
a18b3d7886
feat: using pending to determine init sync or not ( #435 )
...
* chore: optimize sync
* chore: optimize sync
* chore: add test
* chore: update collab commit id
* chore: update
* chore: fix ci
2024-04-01 21:59:41 +08:00
Nathan.fooo
d77fb77a3a
feat: validate collab data before writing to disk ( #425 )
...
* chore: validate collab
* chore: update test
* chore: partition key
* chore: save collab
* chore: save collab
2024-03-29 14:55:51 +08:00
Nathan.fooo
cd9fc34465
refactor: crate folder ( #423 )
...
* refactor: crate folder
* chore: update docs
* chore: clippy
2024-03-28 11:06:14 +08:00