nathan
6262816043
chore: remove unused deps in appflowy-ai-client
2024-06-19 13:11:07 +08:00
Nathan.fooo
30f87457f3
feat: support uploading file with multiple part ( #625 )
...
* refactor: replace crate
* chore: remove s3-rust crate
* chore: test multiple upload
* chore: client api
* chore: client api
* chore: v1 version upload,download
* chore: fix test
* chore: fix test
* chore: remove workspace test
* chore: fix wasm build
* chore: update path
* chore: update path
* chore: rename
* chore: expose file entity
* chore: introduce client-api-entity
* chore: fix build
* chore: new url
* chore: fix test
* chore: merge main
* chore: fix clippy
2024-06-19 13:06:58 +08:00
Bartosz Sypytkowski
9ea4de06fd
Merge pull request #630 from AppFlowy-IO/track-ai-responses
...
chore: change open ai token tracking to daily basis
2024-06-18 10:04:04 +02:00
Zack
0bf33efe02
Merge pull request #629 from AppFlowy-IO/feat/publish-document
...
Feat/publish document
2024-06-18 14:31:17 +08:00
Bartosz Sypytkowski
9ca904f943
chore: change open ai token tracking to daily basis
2024-06-18 06:53:39 +02:00
Zack Fu Zi Xiang
7530d78ab6
fix: get workspace namespace
2024-06-18 12:33:52 +08:00
Zack Fu Zi Xiang
236a22ac97
fix: get workspace namespace
2024-06-18 12:32:01 +08:00
Zack Fu Zi Xiang
99fc95f33a
chore: refine api
2024-06-17 22:55:04 +08:00
nathan
f0a32330b2
chore: fix clippy
2024-06-17 22:08:02 +08:00
nathan
5bc39729a7
chore: implement embedding api endpoint
2024-06-17 22:06:58 +08:00
Zack Fu Zi Xiang
d2cb0d4486
chore: remove unneeded api
2024-06-17 21:33:36 +08:00
Zack Fu Zi Xiang
ae29bbe9fe
fix: published doc alias
2024-06-17 01:07:40 +08:00
Zack Fu Zi Xiang
cb74f38ac8
fix: json metadata
2024-06-16 20:41:50 +08:00
Zack Fu Zi Xiang
05b284f7e7
feat: client code for namespace changes
2024-06-16 14:06:04 +08:00
Zack Fu Zi Xiang
233b757698
feat: add published endpoints
2024-06-15 21:47:11 +08:00
Zack Fu Zi Xiang
2ab59e79a3
feat: get published collab meta data
2024-06-15 21:20:59 +08:00
Zack Fu Zi Xiang
de413844dc
feat: put and get published collab data
2024-06-15 14:59:18 +08:00
Zack Fu Zi Xiang
94bd62869c
feat: delete publish collab
2024-06-15 11:51:05 +08:00
Zack Fu Zi Xiang
2c7cdefb83
Merge branch 'main' into feat/publish-document
2024-06-14 21:36:17 +08:00
Zack Fu Zi Xiang
18da7b873b
feat: publish namespace and metadata
2024-06-14 21:35:39 +08:00
Bartosz Sypytkowski
6685b24239
Merge pull request #623 from AppFlowy-IO/indexer-missing-text-data
...
fix: index all of the document blocks
2024-06-14 13:30:01 +02:00
Bartosz Sypytkowski
7ad105ee34
fix: index all of the document blocks
2024-06-14 11:23:19 +02:00
Nathan.fooo
430e3e15c9
fix: chat stream ( #620 )
...
* chore: fix chat stream
2024-06-13 22:46:49 +08:00
Zack
9d3d28ad89
chore: move billing to client api http ( #619 )
2024-06-13 14:38:58 +08:00
Zack
6471831561
chore: move billing client ( #618 )
...
* chore: move billing client
* chore: cargo fmt
2024-06-13 13:19:40 +08:00
Bartosz Sypytkowski
0109597330
Merge pull request #613 from AppFlowy-IO/normalize-paths
...
chore: normalize URL paths in appflowy collab server
2024-06-12 08:13:05 +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
Bartosz Sypytkowski
3721d209f2
chore: normalize URL paths in appflowy collab server
2024-06-12 06:21:56 +02: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
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
6bb2a20888
fix: nginx ai test ( #603 )
...
* chore: add config for ai/chat
* chore: update config
2024-06-04 20:11:19 +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
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
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
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
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
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