Skip to content

refact: Migrate from python seekdb (legacy) to seekdb-rs#2

Open
dengfuping wants to merge 3 commits intoob-labs:masterfrom
dengfuping:refact/migrate-to-seekdb-rs
Open

refact: Migrate from python seekdb (legacy) to seekdb-rs#2
dengfuping wants to merge 3 commits intoob-labs:masterfrom
dengfuping:refact/migrate-to-seekdb-rs

Conversation

@dengfuping
Copy link
Copy Markdown

@dengfuping dengfuping commented Feb 26, 2026

Summary

Solution Description

  • Before: based on python seekdb (legacy and depend on python runtime)
image
  • After: based on seekdb-rs
graph TB
    subgraph Frontend["Frontend Layer"]
        UI[React UI Components]
        State[State Management]
    end

    subgraph Command["Command Layer (Tauri)"]
        CMD_Project[Project Commands]
        CMD_Doc[Document Commands]
        CMD_Chat[Conversation Commands]
        CMD_Speech[Speech Commands]
    end

    subgraph Service["Service Layer (Rust)"]
        SVC_Project[ProjectService]
        SVC_Doc[DocumentService]
        SVC_Conv[ConversationService]
        SVC_Embed[EmbeddingService]
        SVC_LLM[LLMClient]
        SVC_Speech[SpeechService]
    end

    subgraph Data["Data Layer"]
        Adapter[SeekDbAdapter]
        Client[seekdb-rs Client]
        DB[(Embedded SeekDB)]
        Tables[Relational Tables]
        VectorColl[Vector Collection + HNSW]
    end

    subgraph External["External Services"]
        DashScope[Aliyun Bailian API<br/>Embedding + LLM]
    end

    UI --> Command
    State --> Command
    CMD_Project --> SVC_Project
    CMD_Doc --> SVC_Doc
    CMD_Chat --> SVC_Conv
    CMD_Speech --> SVC_Speech

    SVC_Doc --> SVC_Embed
    SVC_Conv --> SVC_LLM
    SVC_Project --> Adapter
    SVC_Doc --> Adapter
    SVC_Conv --> Adapter

    Adapter --> Client
    Client --> DB
    DB --> Tables
    DB --> VectorColl

    SVC_Embed --> DashScope
    SVC_LLM --> DashScope
Loading

Result

image

@dengfuping dengfuping changed the title refact: Migrate from python seekdb (legacy) to seekdb-rs and remove Python bridge refact: Migrate from python seekdb (legacy) to seekdb-rs Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant