Commit graph

5656 commits

Author SHA1 Message Date
yangdx
924c8cb8a3 Merge branch 'main' into gemini-cot 2025-11-07 15:52:13 +08:00
yangdx
fc40a36968 Add timeout support to Gemini LLM and improve parameter handling
• Add timeout parameter to Gemini client
• Convert timeout seconds to milliseconds
• Update function signatures consistently
• Add Gemini thinking config example
• Clean up parameter documentation
2025-11-07 15:50:14 +08:00
yangdx
3cb4eae492 Add Chain of Thought support to Gemini LLM integration
- Extract thoughts from response parts
- Add COT enable/disable parameter
2025-11-07 15:22:14 +08:00
yangdx
6686edfd35 Update Gemini LLM options: add seed and thinking config, remove MIME type 2025-11-07 14:32:42 +08:00
Yasiru Rangana
d94aae9c5e Add dimensions parameter support to openai_embed() 2025-11-07 09:55:06 +11:00
yangdx
8c27555358 Fix Gemini response parsing to avoid warnings from non-text parts 2025-11-07 04:00:37 +08:00
Daniel.y
366a1e0f5f
Merge pull request #2322 from danielaskdd/fix-delete
Fix: Remove Duplicate Entity/Realtion Tracking Deletion in adelete_by_doc_id
2025-11-07 03:07:05 +08:00
yangdx
ea141e2779 Fix: Remove redundant entity/relation chunk deletions 2025-11-07 02:56:16 +08:00
yangdx
5bcd2926ca Bump API version to 0251 2025-11-06 21:45:47 +08:00
Daniel.y
9d0012b011
Merge pull request #2321 from danielaskdd/fix-doc-del-slow
Fix performance bottleneck in document deletion
2025-11-06 21:37:35 +08:00
yangdx
04ed709b34 Optimize entity deletion by batching edge queries to avoid N+1 problem
• Add batch get_nodes_edges_batch call
• Remove individual get_node_edges calls
• Improve query performance
2025-11-06 21:34:47 +08:00
yangdx
678e17bb5c Revert "fix(ui): Remove dynamic import for i18n in settings store"
This reverts commit 0216325e0f.
2025-11-06 21:00:47 +08:00
Daniel.y
f6a0ea3a96
Merge pull request #2320 from danielaskdd/fix-postgres
Fix node retrieval fail with pecial characters in IDs for Postgres AGE GraphStorage
2025-11-06 20:59:17 +08:00
yangdx
3276b7a49d Fix linting 2025-11-06 20:48:51 +08:00
yangdx
155f59759b Fix node ID normalization and improve batch operation consistency
• Remove premature ID normalization
• Add lookup mapping for node resolution
• Filter results by requested nodes only
• Improve error logging with workspace
2025-11-06 20:34:53 +08:00
Daniel.y
edf48d7965
Merge pull request #2319 from danielaskdd/remove-deprecated-code
Refactor: Remove Deprecated Chunk-Based Query Methods and Improve Graph Unit Test
2025-11-06 20:30:33 +08:00
yangdx
36501b82f5 Initialize shared storage for all graph storage types in graph unit test 2025-11-06 19:24:12 +08:00
yangdx
0c47d1a2d1 Fix linting 2025-11-06 19:12:40 +08:00
yangdx
f3b2ba8152 Translate graph storage test from Chinese to English 2025-11-06 19:11:35 +08:00
yangdx
a790f081dc Refine gitignore to only exclude root-level test files 2025-11-06 18:51:21 +08:00
yangdx
6b0f9795be Add workspace parameter and remove chunk-based query unit tests
- Add workspace param to test storage init
- Remove get_nodes_by_chunk_ids tests
- Remove get_edges_by_chunk_ids tests
- Clean up batch operations test function
2025-11-06 18:18:01 +08:00
yangdx
807d2461d3 Remove unused chunk-based node/edge retrieval methods 2025-11-06 18:17:10 +08:00
yangdx
831e658ed8 Update readme 2025-11-06 16:26:07 +08:00
yangdx
0216325e0f fix(ui): Remove dynamic import for i18n in settings store 2025-11-06 16:15:32 +08:00
yangdx
6e36ff41e1 Fix linting 2025-11-06 16:01:24 +08:00
yangdx
775933aa8a Merge branch 'VOXWAVE-FOUNDRY/main' 2025-11-06 15:57:39 +08:00
yangdx
5f49cee20f Merge branch 'main' into VOXWAVE-FOUNDRY/main 2025-11-06 15:37:35 +08:00
yangdx
b0d44d283b Add Langfuse observability integration documentation 2025-11-06 10:24:15 +08:00
Daniel.y
bd62bb3024
Merge pull request #2314 from danielaskdd/ragas
Refact: Separate Configuration of RAGAS for LLM and Embeddings
2025-11-05 19:16:14 +08:00
yangdx
9c05706062 Add separate endpoint configuration for LLM and embeddings in evaluation
- Split LLM and embedding API configs
- Add fallback chain for API keys
- Update docs with usage examples
2025-11-05 18:54:38 +08:00
yangdx
994a82dc7f Suppress token usage warnings for custom OpenAI-compatible endpoints
• Add warning filter for token usage
• Support vLLM, SGLang endpoints
• Non-critical for RAGAS evaluation
2025-11-05 18:25:28 +08:00
yangdx
d803df9413 Fix linting 2025-11-05 17:19:58 +08:00
yangdx
451257aed5 Doc: Update news with recent features 2025-11-05 16:58:20 +08:00
yangdx
f490622b72 Doc: Refactor evaluation README to improve clarity and structure 2025-11-05 10:43:55 +08:00
yangdx
a73314a4ba Refactor evaluation results display and logging format 2025-11-05 10:08:17 +08:00
yangdx
06b91d00f8 Improve RAG evaluation progress eval index display with zero padding 2025-11-05 09:46:07 +08:00
Daniel.y
eb80771f51
Merge pull request #2311 from danielaskdd/evalueate-cli
Feature: Enhanced RAG Evaluation CLI with Two-Stage Pipeline and Improved UX
2025-11-05 02:14:54 +08:00
yangdx
2823f92fb6 Fix tqdm progress bar conflicts in concurrent RAG evaluation
• Add position pool for tqdm bars
• Serialize tqdm creation with lock
• Set leave=False to clear completed bars
• Pass position/lock to eval tasks
• Import tqdm.auto for better display
2025-11-05 02:04:13 +08:00
yangdx
e5abe9dd3d Restructure semaphore control to manage entire evaluation pipeline
• Move rag_semaphore to wrap full function
• Increase RAG concurrency to 2x eval limit
• Prevent memory buildup from slow evals
• Keep eval_semaphore for RAGAS control
2025-11-05 01:07:53 +08:00
yangdx
83715a3ac1 Implement two-stage pipeline for RAG evaluation with separate semaphores
• Split RAG gen and eval stages
• Add rag_semaphore for stage 1
• Add eval_semaphore for stage 2
• Improve concurrency control
• Update connection pool limits
2025-11-05 00:36:09 +08:00
yangdx
d36be1f499 Improve RAGAS evaluation progress tracking and clean up output handling
• Add tqdm progress bar for eval steps
• Pass progress bar to RAGAS evaluate
• Ensure progress bar cleanup in finally
• Remove redundant output buffer flushes
2025-11-05 00:16:02 +08:00
yangdx
c358f405a9 Update evaluation defaults and expand sample dataset
• Lower concurrent evals from 3 to 2
• Standardize project names in samples
• Add 3 new evaluation questions
• Expand ground truth detail coverage
• Improve dataset comprehensiveness
2025-11-04 22:17:17 +08:00
yangdx
41c26a3677 feat: add command-line args to RAG evaluation script
- Add --dataset and --ragendpoint flags
- Support short forms -d and -r
- Update README with usage examples
2025-11-04 21:40:27 +08:00
yangdx
a618f837a6 Merge branch 'new/ragas-evaluation' 2025-11-04 19:35:15 +08:00
yangdx
d4b8a229b9 Update RAGAS evaluation to use gpt-4o-mini and improve compatibility
- Change default model to gpt-4o-mini
- Add deprecation warning suppression
- Update docs and comments for LightRAG
- Improve output formatting and timing
2025-11-04 18:50:53 +08:00
yangdx
6d61f70b92 Clean up RAG evaluator logging and remove excessive separator lines
• Remove excessive separator lines
• Add RAGAS concurrency comment
• Fix output buffer timing
2025-11-04 18:04:19 +08:00
yangdx
4e4b8d7e25 Update RAG evaluation metrics to use class instances instead of objects
• Import metric classes not instances
• Instantiate metrics with () syntax
2025-11-04 15:56:57 +08:00
yangdx
7abc687742 Add comprehensive configuration and compatibility fixes for RAGAS
- Fix RAGAS LLM wrapper compatibility
- Add concurrency control for rate limits
- Add eval env vars for model config
- Improve error handling and logging
- Update documentation with examples
2025-11-04 14:39:27 +08:00
yangdx
72db042667 Update .env loading and add API authentication to RAG evaluator
• Load .env from current directory
• Support LIGHTRAG_API_KEY auth header
• Override=False for env precedence
• Add Bearer token to API requests
• Enable per-instance .env configs
2025-11-04 10:59:09 +08:00
anouarbm
ad2d3c2cc0 Merge remote-tracking branch 'origin/main' into feat/ragas-evaluation 2025-11-03 13:48:14 +01:00