mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-16 02:08:27 +00:00
Added local RAG (#756)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
d043fbc8f0
commit
c7b42bee96
179 files changed
+276977
-1421
No files matched your search
@@ -33,6 +33,7 @@ use crate::global_shortcuts::{RegisterShortcutRequest, ShortcutResponse};
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
use crate::dotnet::create_startup_env_file;
|
||||
use crate::tokenizer::set_default_tokenizer_path;
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
use webkit2gtk::glib::Cast;
|
||||
@@ -173,6 +174,8 @@ pub fn start_tauri(tauri_context: tauri::Context<tauri::Wry>) {
|
||||
|
||||
start_qdrant_edge_database(app.handle().clone());
|
||||
|
||||
set_default_tokenizer_path(app.handle().clone());
|
||||
|
||||
info!(Source = "Bootloader Tauri"; "Reconfigure the file logger to use the app data directory {data_path:?}");
|
||||
switch_to_file_logging(data_path).map_err(|e| error!("Failed to switch logging to file: {e}")).unwrap();
|
||||
set_pdfium_path(app.path());
|
||||
|
||||
Reference in new issue
Block a user