171 Commits

Author SHA1 Message Date
Nathan.fooo
8fcbf78714
chore: index document even content is empty (#7996) 2025-05-28 10:11:45 +08:00
Nathan.fooo
49b56f0a6e
fix: stream key (#7952) 2025-05-20 11:48:29 +08:00
Richard Shiue
c634e906ea
chore: implement custom prompt usage metrics (#7923)
* chore: implement custom prompt usage metrics

* chore: bump client-api
2025-05-19 16:07:11 +08:00
Richard Shiue
a7b795d3cc
feat: allow users to map fields while importing prompts from database (#7938) 2025-05-19 10:40:04 +08:00
Nathan.fooo
fed9d43fc5
Upgrade Rust edition (Do not merge into 0.9.2 version) (#7925)
* chore: compile

* chore: bump rust edition

* chore: bump rust tool chain version

* chore: fix test

* chore: fmt

* chore: build target

* chore: clippy

* chore: fmt
2025-05-14 10:26:59 +08:00
Nathan.fooo
7e5b243e40
chore: remove unused ai code (#7919) 2025-05-13 00:13:25 +08:00
Nathan
9ecae0a643 chore: ai templte 2025-05-11 20:16:12 +08:00
Nathan.fooo
b4d48a63b9
chore: support multiple source search in chat (#7906)
* chore: support multiple source search in chat

* chore: clippy
2025-05-10 15:28:38 +08:00
Nathan.fooo
c986e414f4
Vault workspace suggested question (#7903)
* chore: return suggested question when ai say i don't know

* chore: new message type

* chore: implement uI

* chore: implement UI

* fix: assertion in local ai chat

* chore: implement UI

* chore: update prompt

* chore: update logs

* chore: add tests

* chore: message id

* fix: local ai page animation issue

* chore: remove debug log

* fix: remove repeated setState

* chore: add test

* chore: test

* fix: compile

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2025-05-09 21:58:23 +08:00
Richard Shiue
680015ef66
feat: load custom prompts from a database (#7894)
* feat: load custom prompts from a database

* chore: code review

* chore: process trashed views and reduce widget rebuilds
2025-05-08 11:56:30 +08:00
Nathan.fooo
95f9b07ef7
chore: use tanvity as fallback ai search (#7892)
* chore: use tanvity as fallback ai search

* chore: fix test
2025-05-08 00:17:02 +08:00
Nathan.fooo
f7b556677f
Custom langchain rust (#7887)
* chore: implement custom memory store chain

* chore: do not allow edit embedding model
2025-05-07 13:37:44 +08:00
Nathan.fooo
53cbd22111
chore: local ai chat with pages (#7881)
* chore: local ai chat with page

* chore: temp

* chore: clippy

* chore: fix ui bugs

* chore: fix ui bugs

* chore: fix view title

* chore: cloud id

* chore: bump server

* chore: bump server
2025-05-06 20:32:10 +08:00
Nathan.fooo
bdac73e934
chore: refactor local ai (#7880)
* chore: refactor local ai

* chore: ios build
2025-05-05 20:27:29 +08:00
Nathan.fooo
20f3116bd9
refactor: Model select (#7875)
* refactor: model select

* refactor: add test

* fix: add source

* fix: add source

* chore: notify all unset source

* chore: fix test
2025-05-02 15:37:40 +08:00
Nathan.fooo
612d652320
feat: support local ai embedding, local ai search, local document content search (#7839)
* chore: generate embeddings

* chore: save embedding

* chore: vec sqlite

* chore: clippy

* chore: init vector

* chore: create vector db

* chore: periodically write embedding

* chore: fix compile

* chore: skip write

* chore: impl search

* fix: test

* fix: stop scheduler

* fix: search

* chore: add test

* chore: update schema

* chore: index all

* chore: index

* chore: search document content

* chore: index document content and title

* chore: index all view

* chore: rename trait

* refactor: remove folder index manager

* chore: index folder changes

* chore: delete folder search

* chore: update logs

* chore: update logs

* chore: search

* chore: add search test

* chore: fmt

* chore: fix test

* chore: fix ios build
2025-05-02 08:21:42 +08:00
Lucas
168b29abe3
Revert "chore: try to fix the mobile build" (#7844)
This reverts commit 3f06f6415aee635e1e39cc772ece081484f0ab14.
2025-04-28 13:25:05 +08:00
Nathan
2463107c6c chore: fix ios build 2025-04-28 13:18:18 +08:00
Lucas
2661ad27ec
feat: improve password error message (#7842)
* chore: update i18n

* chore: bump client api version

* chore: try to fix the mobile build

* chore: enable iOS CI
2025-04-28 13:08:28 +08:00
Nathan
549e8aee03 chore: clippy 2025-04-26 10:04:03 +08:00
Nathan
3bc0cc7b43 chore: rename 2025-04-26 00:56:45 +08:00
Nathan
90000add22 chore: update ui 2025-04-25 23:41:35 +08:00
Nathan
86e6845302 chore: update ui 2025-04-25 23:29:22 +08:00
Nathan
7dd8d06c85 chore: display all local models 2025-04-25 16:53:32 +08:00
Nathan
7fc2fd56f0 fix: retain cycle 2025-04-23 15:59:53 +08:00
Nathan
db5e4766af chore: fix test 2025-04-22 23:20:15 +08:00
Nathan
6bdaee3a00 chore: set toggle default value 2025-04-22 14:10:02 +08:00
Nathan
514eeb8466 chore: init local ai when switching workspace 2025-04-22 12:16:59 +08:00
Nathan
4e2990e599 chore: remove local model 2025-04-21 22:02:06 +08:00
Nathan
92d5690bba chore: pass folder init data 2025-04-20 18:07:02 +08:00
Nathan
72fc0cce07 chore: move sql 2025-04-19 22:18:15 +08:00
Nathan
edc5710e32 chore: auth type and remove unused code 2025-04-19 14:00:51 +08:00
Nathan
4925e99166 chore: fix compile 2025-04-18 15:02:02 +08:00
Nathan
31d8653ba6 refactor: save chat and chat message 2025-04-18 13:34:13 +08:00
Nathan
ac659066c6 chore: return local model 2025-04-17 20:49:24 +08:00
Nathan
13065ac726 chore: add tests 2025-04-17 15:47:17 +08:00
Nathan
af91a72187 chore: select message 2025-04-17 14:07:01 +08:00
Nathan
98b835227e chore: remove unused code 2025-04-17 11:22:14 +08:00
Nathan
c633dd0919 chore: remove unused code 2025-04-17 11:11:54 +08:00
Nathan
77fbf0f8a3 chore: local ai initialize 2025-04-16 21:26:09 +08:00
Nathan
c89f33e2f8 chore: remove unused code 2025-04-16 20:59:25 +08:00
Nathan
e5b6393257 Merge branch 'main' into local_chat2 2025-04-16 20:23:55 +08:00
Nathan
846172a709 chore: adjust ui 2025-04-15 22:19:16 +08:00
Nathan
f62686fdeb chore: support local chat 2025-04-15 21:07:01 +08:00
Nathan
99fb6ab743 chore: fix linux watch 2025-04-14 23:07:42 +08:00
Nathan
35bc095760 chore: local and server result 2025-04-14 22:58:37 +08:00
Nathan
4d172761ce chore: search with ai summary 2025-04-14 10:36:42 +08:00
Nathan
a7adeeadb1 chore: remove local ai related path to lai repo 2025-04-09 20:47:03 +08:00
Nathan
2371d4691d chore: fix local ai setting 2025-04-09 20:07:06 +08:00
Nathan
91397c963a chore: clippy 2025-04-07 19:34:26 +08:00