- Updated all
azure_config.jsonunderC:\Tempto use the Azure AI Services endpoint and deployment:- endpoint:
https://wayfinder-catagorizer.cognitiveservices.azure.com - deployment:
text-embedding-3-small - api_version set if missing
- endpoint:
- Added Azure validation URL visibility so failures show the exact final validation URL:
- Backend
validate_azure_confignow includesfinal_urlin error + fallback cases. - Frontend shows
final_urlin the validation failure UI and the validation results drawer.
- Backend
- Implemented provider config to support free local embeddings by default:
- Added
EmbeddingProviderenum (local/azure) +ProviderConfig. - Added helpers:
read_provider_config,write_provider_config,resolve_provider_config. - Added Tauri commands:
load_provider_config,save_provider_config. save_azure_confignow also sets provider = azure.generate_embeddingsnow branches:- Local: uses
fastembedwith model (defaultBAAI/bge-small-en-v1.5). - Azure: uses existing Azure flow.
- Local: uses
- Added
- UI changes for provider selection:
- Provider dropdown: Local (default) vs Azure.
- Local model field (suggested
BAAI/bge-small-en-v1.5orall-MiniLM-L6-v2). - Azure config form only shown when provider = Azure.
- Save flow writes provider config for local; Azure save writes both.
- Updated copy to reflect local or cloud options.
- Added
fastembed = "5.9.0"tosrc-tauri/Cargo.toml.
src-tauri/src/commands.rssrc-tauri/src/main.rssrc-tauri/Cargo.tomlsrc/App.tsxsrc/services/tauri.tssrc/types.ts.cargo/config.toml(temporarily set to MSVC 14.29)run_tests.bat(temporarily set to MSVC 14.29)
- Windows build toolchain mismatch when linking
fastembed/ort-sys:- MSVC 14.29 has
immintrin.hbut fails linking (LNK2001:__std_find_trivial_2, etc.). - MSVC 14.44/14.50 previously lacked
immintrin.hon this machine. - Need a proper VS Build Tools 2022 install/repair so 14.44+ includes headers and new STL.
- MSVC 14.29 has
- Fix toolchain:
- Install/repair VS Build Tools 2022 so 14.44+ is complete (includes
immintrin.h). - Switch
.cargo/config.tomlandrun_tests.batback to 14.44+.
- Install/repair VS Build Tools 2022 so 14.44+ is complete (includes
- Production build:
- Run
npm run tauri build. - Launch
src-tauri\target\release\wayfinder-tauri.exeand verify GUI.
- Run
- Validate provider flows:
- Local embeddings default: index + search works.
- Azure provider: validation shows
final_urland embeddings succeed.
- File watcher wiring (optional, requested):
- Backend watcher exists (
start_file_watcher,get_watcher_status, etc.). - UI currently only polls events; start/stop isn’t wired to app lifecycle.
- Add toggle + auto-start when index is set.
- Backend watcher exists (
- Clippy suggestions roadmap (optional):
- Add cleanliness score + back-off tiers (SQLite already in project).
- Heuristic naming first, then optional LLM providers (Ollama/Gemini/Groq/Mixedbread).
- Azure deployment verified:
text-embedding-3-small. - Current endpoint format is Cognitive Services style (not
openai.azure.com). - Local embeddings download model on first use (requires internet).