feat: Run Local AI model in AppFlowy (#5655)

* chore: load plugin

* chore: sidecar

* chore: fix test

* chore: clippy

* chore: save chat config

* chore: arc plugin

* chore: add plugins

* chore: clippy

* chore: test streaming

* chore: config chat

* chore: stream message

* chore: response with local ai

* chore: fix compile

* chore: config ui

* chore: fix load plugin

* chore: add docs

* chore: update docs

* chore: disable local ai

* chore: fix compile

* chore: clippy
This commit is contained in:
Nathan.fooo 2024-06-30 17:38:39 +08:00 committed by GitHub
parent 3bcadff152
commit e1c68c1b72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
75 changed files with 3494 additions and 396 deletions

View file

@ -1,5 +1,13 @@
// @generated automatically by Diesel CLI.
diesel::table! {
chat_local_setting_table (chat_id) {
chat_id -> Text,
local_model_path -> Text,
local_model_name -> Text,
}
}
diesel::table! {
chat_message_table (message_id) {
message_id -> BigInt,
@ -17,6 +25,10 @@ diesel::table! {
chat_id -> Text,
created_at -> BigInt,
name -> Text,
local_model_path -> Text,
local_model_name -> Text,
local_enabled -> Bool,
sync_to_cloud -> Bool,
}
}
@ -103,6 +115,7 @@ diesel::table! {
}
diesel::allow_tables_to_appear_in_same_query!(
chat_local_setting_table,
chat_message_table,
chat_table,
collab_snapshot,