mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[PR #7839] [MERGED] feat: support local ai embedding, local ai search, local document content search #8152
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#8152
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7839
Author: @appflowy
Created: 4/27/2025
Status: ✅ Merged
Merged: 5/2/2025
Merged by: @appflowy
Base:
main← Head:local_embedding📝 Commits (10+)
6e71ddachore: generate embeddingsf589d45chore: save embedding6d79c67chore: vec sqlitea641171chore: clippyfff9c77chore: init vector14d9830chore: create vector db6027a99chore: periodically write embedding3fbe711chore: fix compilef695137chore: skip writed6187bachore: impl search📊 Changes
139 files changed (+4998 additions, -4744 deletions)
View changed files
📝
.github/workflows/android_ci.yaml.bak(+1 -1)📝
.github/workflows/flutter_ci.yaml(+1 -1)📝
.github/workflows/ios_ci.yaml(+1 -1)📝
.github/workflows/release.yml(+11 -11)📝
.github/workflows/rust_ci.yaml(+1 -1)📝
.github/workflows/rust_coverage.yml(+1 -1)📝
frontend/Makefile.toml(+35 -34)📝
frontend/appflowy_flutter/lib/workspace/application/command_palette/command_palette_bloc.dart(+1 -3)📝
frontend/appflowy_flutter/lib/workspace/application/command_palette/search_service.dart(+4 -9)📝
frontend/appflowy_flutter/macos/Podfile.lock(+23 -23)📝
frontend/rust-lib/Cargo.lock(+385 -94)📝
frontend/rust-lib/Cargo.toml(+13 -12)📝
frontend/rust-lib/build-tool/flowy-ast/src/symbol.rs(+2 -2)📝
frontend/rust-lib/collab-integrate/Cargo.toml(+4 -2)📝
frontend/rust-lib/collab-integrate/src/collab_builder.rs(+18 -0)➕
frontend/rust-lib/collab-integrate/src/instant_indexed_data_provider.rs(+226 -0)📝
frontend/rust-lib/collab-integrate/src/lib.rs(+1 -1)➖
frontend/rust-lib/collab-integrate/src/persistence/mod.rs(+0 -1)📝
frontend/rust-lib/dart-ffi/src/lib.rs(+19 -7)📝
frontend/rust-lib/event-integration-test/Cargo.toml(+2 -3)...and 80 more files
📄 Description
• Remove the obsolete Supabase test that’s no longer used.
• Add support for generating and using local embeddings.
• Introduce local AI-powered search functionality.
• Enable full-text search over document content (previously we only indexed files that existed on disk).
• Refactor folder-view search so that each workspace maintains its own Tantivy index directory.
• Reindex a document automatically whenever its content hash changes.
• Add end-to-end integration tests to verify search functionality.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.