Commit Graph

  • 11669bb62f update readme chore/ruff-imports-hnsw yichuan-w 2025-08-20 17:31:12 -07:00
  • 0e55069d1b Resolve uv.lock conflicts by aligning with origin/main yichuan-w 2025-08-20 17:06:55 -07:00
  • 35f4fbd9d1 fix micro bench and fix pre commit yichuan-w 2025-08-20 16:59:35 -07:00
  • 6d11e86e71 Run Evaluation RPJ Wiki on Arch Linux (#74) Andy Lee 2025-08-20 12:25:54 -07:00
  • c8f173c0e5 Merge branch 'main' into arch-eval arch-eval Andy Lee 2025-08-20 12:25:47 -07:00
  • 7ea34bd7d0 docs: rpj_wiki Andy Lee 2025-08-20 12:23:46 -07:00
  • 13bb561aad Add AST-aware code chunking for better code understanding (#58) Gabriel Dehan 2025-08-20 08:35:31 +02:00
  • 348423eca9 style: format Andy Lee 2025-08-19 14:40:41 -07:00
  • bc621677f6 perf: avoid merging offset dicts for lower mem usage Andy Lee 2025-08-19 10:58:16 -07:00
  • 9d5cdd93b4 chore: ignore benchmark data Andy Lee 2025-08-19 10:57:52 -07:00
  • 0174ba5571 chore: release v0.3.2 v0.3.2 GitHub Actions 2025-08-19 09:41:40 +00:00
  • 03af82d695 fix: leann mcp search cwd & interactive issues (#72) Andy Lee 2025-08-19 02:27:06 -07:00
  • 55f0973524 fix: leann mcp search cwd & interactive issues mcp-fix Andy Lee 2025-08-19 02:19:06 -07:00
  • 738f1dbab8 chore: release v0.3.1 v0.3.1 GitHub Actions 2025-08-19 05:56:45 +00:00
  • 37d990d51c [feature] fix cli yichuan520030910320 2025-08-18 22:55:43 -07:00
  • a913903d73 feat(embeddings): add optional manual tokenization path (HF tokenizer+model) with mean pooling; default remains SentenceTransformer.encode yichuan-w 2025-08-18 20:15:25 -07:00
  • a2d4c9231e chore(logging): surface recompute and batching params; enable INFO logging in benchmark yichuan-w 2025-08-18 19:34:19 -07:00
  • c5d8138349 feat(hnsw): add batch_size to LeannSearcher.search and LeannChat.ask; forward only for HNSW backend yichuan-w 2025-08-18 17:04:40 -07:00
  • d14faaa771 feat(benchmarks): add --batch-size option and plumb through to HNSW search (default 0) yichuan-w 2025-08-18 17:01:43 -07:00
  • c0dcf69bc9 ci: retrigger after removing unintended gitlink (paru-bin) yichuan-w 2025-08-18 15:53:10 -07:00
  • 241630f054 chore: remove unintended embedded repo paru-bin and ignore it yichuan-w 2025-08-18 15:52:51 -07:00
  • 0d232021f9 chore: sync changes; fix Ruff import order; update examples, benchmarks, and dependencies yichuan-w 2025-08-18 15:49:16 -07:00
  • be405a5851 chore(hnsw): reorder imports to satisfy ruff I001 yichuan-w 2025-08-18 15:45:33 -07:00
  • 5c163737c4 Merge remote-tracking branch 'origin/main' into financebench Andy Lee 2025-08-17 11:58:34 -07:00
  • 6d1d67ead7 chore: ignroe data README Andy Lee 2025-08-17 11:58:32 -07:00
  • a6f07a54f1 fix: Use uv venv for Arch Linux CI wheel installation (#69) Andy Lee 2025-08-16 21:32:19 -07:00
  • 6b465d5a0f fix: Use uv venv for Arch Linux CI wheel installation fix-arch-ci Andy Lee 2025-08-16 16:57:10 -07:00
  • 6cacdbe7e5 fix: Use uv venv for Arch Linux CI wheel installation fix/update-diskann-mkl-linking Andy Lee 2025-08-16 16:57:10 -07:00
  • ed27ea6990 docs: results Andy Lee 2025-08-16 16:48:01 -07:00
  • baf2d76e0e feat: finance bench Andy Lee 2025-08-16 16:22:50 -07:00
  • 46905e0687 feat: Improve DiskANN cross-platform compatibility and add Arch Linux support (#66) Andy Lee 2025-08-16 14:42:20 -07:00
  • a0c7b908b9 fix: Use curl User-Agent for lychee link checking Andy Lee 2025-08-16 13:48:02 -07:00
  • e22e43b223 fix: Configure lychee to use browser User-Agent for Intel links Andy Lee 2025-08-16 13:45:00 -07:00
  • 956927dfd8 fix: Update Intel MKL download link to avoid 403 error Andy Lee 2025-08-16 13:41:59 -07:00
  • 2e25772f91 Merge remote-tracking branch 'origin/main' into fix/update-diskann-mkl-linking Andy Lee 2025-08-16 13:39:02 -07:00
  • 8c04a8345e chore: all linux deps Andy Lee 2025-08-16 13:38:30 -07:00
  • 4dbe5420b2 fix: Update DiskANN submodule with MKL linking improvements Andy Lee 2025-08-16 12:45:19 -07:00
  • 838ade231e 🔗 Auto-register apps: Universal index discovery (#64) Andy Lee 2025-08-16 11:50:25 -07:00
  • 49fdbe45b7 chore: vscode ruff, and format feature/auto-register-app-indexes Andy Lee 2025-08-16 11:28:45 -07:00
  • a8c526e64b Merge main into feature/auto-register-app-indexes Andy Lee 2025-08-16 00:07:39 -07:00
  • da6540decd feat: Enhance CLI with improved list and smart remove commands (#63) Andy Lee 2025-08-15 23:49:47 -07:00
  • 0c13673690 feat: Enhance CLI with improved list and smart remove commands Andy Lee 2025-08-15 23:11:52 -07:00
  • 39e18a7c11 [chore] remove gitattribute yichuan520030910320 2025-08-15 23:12:24 -07:00
  • d2299d2679 feat: Enhance CLI with improved list and smart remove commands feature/enhanced-cli-list-remove Andy Lee 2025-08-15 23:11:52 -07:00
  • 6bde28584b feat: Add Google Gemini API support for chat and embeddings (#57) v0.3.0 Andy Lee 2025-08-15 21:54:11 -07:00
  • f62632c41f [readme]update arch linux install yichuan520030910320 2025-08-15 21:41:34 -07:00
  • 27708243ca update system support yichuan520030910320 2025-08-15 21:32:53 -07:00
  • 9a1e4652ca chore: release v0.3.0 GitHub Actions 2025-08-16 00:54:47 +00:00
  • 14e84d9e2d fix(core): skip empty/invalid chunks before embedding; guard OpenAI embeddings (#55) Andy Lee 2025-08-15 17:53:53 -07:00
  • 61b1691448 feat: Add Google Gemini API support for chat and embeddings feature/add-gemini-api-support Andy Lee 2025-08-15 17:52:30 -07:00
  • 2dcfca19ff style: apply ruff format (#56) Yichuan Wang 2025-08-15 17:48:33 -07:00
  • cd343e1d7a style: apply ruff format fix/52-include-hidden-flag yichuan520030910320 2025-08-15 17:44:50 -07:00
  • f1aca0f756 fix(core): skip empty/invalid chunks before embedding; guard OpenAI embeddings fix/empty-chunks-cherry-pick Andy Lee 2025-08-15 17:28:35 -07:00
  • bee2167ee3 docs: update READMEs (MCP docs + conclusion polish) Yichuan Wang 2025-08-15 17:21:23 -07:00
  • 444ea9fbea docs: update READMEs (MCP docs + conclusion polish)\n\n- Polish conclusion in packages/leann-mcp/README.md\n- Sync root README wording and links\n\nNo code changes. docs/update-readmes-mcp-conclusion yichuan520030910320 2025-08-15 15:05:51 -07:00
  • ef980d70b3 [MCP]update MCP of claude code yichuan520030910320 2025-08-15 14:29:59 -07:00
  • db3c63c441 Docs/Core: Low-Resource Setups, SkyPilot Option, and No-Recompute (#45) Andy Lee 2025-08-15 12:03:19 -07:00
  • 3de0a94efc docs: align cli args and README feature/skypilot-docs Andy Lee 2025-08-15 12:03:11 -07:00
  • 58c12e3eed docs: leann help Andy Lee 2025-08-15 11:51:38 -07:00
  • 92739c7899 docs: boolean flags Andy Lee 2025-08-15 11:50:46 -07:00
  • 6709afe38b fix: hang on warnings Andy Lee 2025-08-15 01:01:51 -07:00
  • 00eeadb9dd upd pkg yichuan520030910320 2025-08-14 14:39:45 -07:00
  • ded0701504 core: auto-cleanup for LeannSearcher/LeannChat (__enter__/__exit__/__del__); ensure server terminate/kill robustness; benchmarks: use searcher.cleanup(); docs: suggest uv run Andy Lee 2025-08-14 14:29:57 -07:00
  • e3518a31ed docs: diskann recompute Andy Lee 2025-08-14 14:25:50 -07:00
  • d5f6ca61ed benchmarks: unify HNSW & DiskANN into one clean script; isolate groups, fixed ports, warm-up, param complexity Andy Lee 2025-08-14 13:47:53 -07:00
  • 42c8370709 add chunk size in leann build& fix batch size in oai& docs yichuan520030910320 2025-08-14 13:14:14 -07:00
  • b13b52e78c benchmarks: fix and extend HNSW+DiskANN recompute vs no-recompute; docs: add fresh numbers and DiskANN notes Andy Lee 2025-08-14 12:18:07 -07:00
  • 79ca32e87b docs: a real example on recompute Andy Lee 2025-08-14 11:56:10 -07:00
  • 16f4572fe7 cli: use argparse.BooleanOptionalAction for paired flags (--recompute/--compact) across build/search/ask Andy Lee 2025-08-14 11:22:47 -07:00
  • 2bd557d1cf hnsw: move pruned/no-recompute assertion into backend; api: drop global assertion; docs: will adjust after benchmarking Andy Lee 2025-08-14 11:08:34 -07:00
  • 3e162fb177 chore: remove Andy Lee 2025-08-14 01:24:21 -07:00
  • b988f0ab5b cli: unify flags to --recompute/--no-recompute for build/search/ask; docs: update references Andy Lee 2025-08-14 01:20:14 -07:00
  • 43cb500ed8 merge: finalize compat resolution (delegate to PassageManager; keep relative hints in meta); resolve conflicts Andy Lee 2025-08-14 01:09:39 -07:00
  • 0361725323 reader: non-destructive portability (relative hints + fallback); fix comments; sky: refine yaml Andy Lee 2025-08-14 01:05:01 -07:00
  • fafdf8fcbe feat(core,diskann): robust embedding server (no-hang) + DiskANN fast mode (graph partition) (#29) Andy Lee 2025-08-14 01:02:24 -07:00
  • b241c17f5e fix: keep backward-compat debug/clean-state-investigation Andy Lee 2025-08-14 00:30:24 -07:00
  • 3f81861cba feat: auto compact for hnsw when recompute Andy Lee 2025-08-14 00:09:57 -07:00
  • 8cfd5d6a8a core: fix lint (remove unused passages_file); keep per-instance reuse only Andy Lee 2025-08-13 23:51:25 -07:00
  • 10bfe9c980 core: purge dead helpers and comments from EmbeddingServerManager; keep only minimal in-process flow Andy Lee 2025-08-13 23:41:44 -07:00
  • a4346ef701 diskann(ci): avoid stdout/stderr FD redirection in CI to prevent aborts from low-level dup2; no-op contextmanager on CI Andy Lee 2025-08-13 23:15:24 -07:00
  • 6db0a7747d tests(ci): skip DiskANN branch of README basic example on CI to avoid core dump in constrained runners; HNSW still validated Andy Lee 2025-08-13 23:07:39 -07:00
  • b6efe3a726 zmq: set SNDTIMEO=1s and LINGER=0 for REP sockets to avoid send blocking during shutdown; reduces CI hang risk Andy Lee 2025-08-13 22:52:54 -07:00
  • 0f110dc7b9 core: unify atexit to always call _finalize_process (covers both self-launched and adopted servers) Andy Lee 2025-08-13 22:42:25 -07:00
  • dfe60a152f ci/core: skip compatibility scanning in CI (LEANN_SKIP_COMPAT=1) to avoid slow/hanging process scans; always pick a fresh available port Andy Lee 2025-08-13 22:39:51 -07:00
  • 6af8101977 core: adopt compatible running server (record PID) and ensure stop_server() can terminate adopted processes; clear server_port on stop Andy Lee 2025-08-13 22:04:51 -07:00
  • 17e0d7470f tests: remove minimal conftest to validate atexit/weakref cleanup path Andy Lee 2025-08-13 21:16:44 -07:00
  • d6a923f52e core: add weakref.finalize and atexit-based cleanup in EmbeddingServerManager to ensure server stops on interpreter exit/GC Andy Lee 2025-08-13 21:05:43 -07:00
  • d79d0af7b1 tests: fix ruff warnings in minimal conftest Andy Lee 2025-08-13 21:00:50 -07:00
  • eb71969d2c tests: call searcher.cleanup()/chat.cleanup() to ensure background embedding servers terminate after tests Andy Lee 2025-08-13 18:48:42 -07:00
  • 183e523be9 tests: remove conftest global timeouts/cleanup; keep test suite minimal and rely on simplified CI + robust servers Andy Lee 2025-08-13 17:46:47 -07:00
  • f096e62bfa tests: drop custom ci_timeout decorator and helpers; rely on pytest defaults and simplified CI Andy Lee 2025-08-13 17:37:43 -07:00
  • 27215dfcce refactor(hnsw-convert): remove global print override; rely on default flushing in CI Andy Lee 2025-08-13 17:34:35 -07:00
  • b8cf7198dd refactor(diskann): remove redundant graph_partition_simple; keep single partition API (graph_partition) Andy Lee 2025-08-13 17:31:42 -07:00
  • 317d9e9ed7 chore(ci): remove unused pytest wrapper and debug runner Andy Lee 2025-08-13 16:59:30 -07:00
  • 751b5f8735 ci: simplify test step to run pytest uniformly across OS; drop ubuntu-22.04 wrapper special-casing Andy Lee 2025-08-13 16:57:04 -07:00
  • a7ad0bc3d6 refactor(hnsw-server): remove duplicate legacy ZMQ thread; keep single shutdown-capable server implementation to reduce surface and avoid hangs Andy Lee 2025-08-13 16:06:39 -07:00
  • f496621034 fix(hnsw-server): be lenient to nested [[ids]] for both distance and embedding requests to match client expectations; prevents missing ID lookup when wrapper nests the list Andy Lee 2025-08-13 15:31:36 -07:00
  • 91d4b4fd94 style(hnsw-server): apply ruff-format after robustness changes Andy Lee 2025-08-13 15:03:54 -07:00
  • 909d3cc6a8 fix(hnsw-server): robust ZMQ responses to prevent size mismatch and segfault in CI clean-state-investigation Andy Lee 2025-08-13 14:53:46 -07:00
  • fa2a775867 docs+sky: simplify SkyPilot flow (auto-build on launch, rsync copy-back); clarify HNSW auto non-compact when no-recompute Andy Lee 2025-08-13 14:30:14 -07:00