hzywhite
fb3dd9dbb3
merge
2025-09-10 13:52:41 +08:00
hzywhite
d0709d5416
merge
2025-09-10 11:23:33 +08:00
yangdx
564850aa9d
Update webui assets and bump api version to 0218
2025-09-09 11:41:02 +08:00
yangdx
6157318408
Update webui assets and bump api to 0217
2025-09-08 23:37:34 +08:00
yangdx
56df4ac4b1
Update webui assets and bump api version to 0216
2025-09-08 19:36:49 +08:00
yangdx
de4fe8bc7d
Improve uvicorn workers warning message clarity
2025-09-08 16:05:51 +08:00
hzywhite
12028a32c4
Merge branch 'main' into RAGAnything
2025-09-08 10:03:05 +08:00
hzywhite
173baf96b9
Summary
2025-09-08 09:55:35 +08:00
yangdx
e4dd83ee3d
Change tooltips font to a smaller one
2025-09-05 22:14:28 +08:00
yangdx
c77e045fb3
Update webui assets and bump api version to 0215
2025-09-05 22:05:52 +08:00
hzywhite
0dc11e0794
summary
2025-09-05 19:31:00 +08:00
hzywhite
8620ce0b01
Update __init__.py
2025-09-05 17:38:34 +08:00
yangdx
a1df76a4ea
Optimize LLM/embedding config caching to reduce repeated parsing overhead
...
• Add LLMConfigCache class for smart caching
• Pre-process OpenAI/Ollama configurations
• Create optimized function factories
• Reduce redundant option parsing calls
2025-09-05 16:36:08 +08:00
hzywhite
8bd8888506
summary
2025-09-05 16:18:17 +08:00
hzywhite
a33484bdb7
merge
2025-09-05 15:04:34 +08:00
hzywhite
482a09d397
merge
2025-09-05 15:03:19 +08:00
hzywhite
8d800239d6
merge
2025-09-05 15:02:49 +08:00
yangdx
17d665c9f3
Limit history messages to latest 1000 entries with truncation indicator
...
• Limit history to 1000 latest messages
• Add truncation message when needed
• Show count of truncated messages
• Update API documentation
• Prevent memory issues with large logs
2025-09-05 12:31:36 +08:00
yangdx
c903b14849
Bump AIP version to 0214 and update env.example
2025-09-04 12:04:50 +08:00
hzywhite
82a0f8cc1f
merge
2025-09-04 10:57:41 +08:00
hzywhite
e27031587d
merge
2025-09-04 10:27:38 +08:00
yangdx
0b07c022d6
Update webui assets and bump api version to 0213
2025-09-03 12:51:08 +08:00
hzywhite
bd533783e1
Update document_routes.py
2025-09-02 06:51:32 +08:00
hzywhite
cb003593df
Update document_routes.py
2025-09-02 06:50:12 +08:00
hzywhite
745aa085db
summary
2025-09-02 06:21:08 +08:00
hzywhite
36c81039b1
Summary
2025-09-02 06:15:29 +08:00
hzywhite
d8b2264d8b
summary
2025-09-02 03:54:20 +08:00
yangdx
476b64c9d4
Update webui assets
2025-09-02 03:03:19 +08:00
yangdx
4e37ff5f2f
Bump API verstion to 0212
2025-09-02 03:02:39 +08:00
yangdx
30be70991d
Bump API version to 0211
2025-09-01 01:23:22 +08:00
yangdx
c8c59c38b0
Fix entity types configuration to support JSON list parsing
...
- Add JSON parsing for list env vars
- Update entity types example format
- Add list type support to get_env_value
2025-09-01 00:14:57 +08:00
yangdx
69890ff2e1
Bump core version to 1.4.8 and api version to 0210
2025-08-31 03:01:33 +08:00
yangdx
8bab240dbc
Update webui assets
2025-08-31 03:00:16 +08:00
yangdx
25b5d176cd
Fix label selection with leading/trailing whitespace
...
• Fix AsyncSelect value trimming issue
• Preserve whitespace in label display
• Use safe keys for command items
• Add GraphControl dependency fix
• Add debug logging for graph labels
2025-08-31 02:54:39 +08:00
yangdx
ae09b5c656
refactor: eliminate conditional imports and simplify LightRAG initialization
...
- Remove conditional import block, replace with lazy loading factory functions
- Add create_llm_model_func() and create_llm_model_kwargs() for clean configuration
- Update wrapper functions with lazy imports for better performance
- Unify LightRAG initialization, eliminating duplicate conditional branches
- Reduce code complexity by 33% while maintaining full backward compatibility
2025-08-31 00:18:29 +08:00
yangdx
332202c111
Fix lambda closure bug in embedding function configuration
...
• Replace lambda with proper async function
• Capture config values at creation time
• Avoid closure variable reference issues
• Add factory function for embeddings
• Remove test file for closure bug
2025-08-30 23:43:34 +08:00
avchauzov
414d47d12a
fix(server): Resolve lambda closure bug in embedding_func
...
Fixes #2023 . Resolves an issue where the embedding function would incorrectly fall back to the OpenAI provider if the server's configuration arguments were mutated after initialization. This was caused by a lambda function capturing a reference to the mutable 'args' object instead of capturing the configuration values at creation time.
2025-08-30 14:43:33 +02:00
yangdx
43f32e8d97
Bump api version to 0209
2025-08-29 19:42:06 +08:00
yangdx
925e631a9a
refac: Add robust time out handling for LLM request
2025-08-29 13:50:35 +08:00
yangdx
ff0a18e08c
Unify SUMMARY_LANGUANGE and ENTITY_TYPES implementation method
2025-08-27 12:23:22 +08:00
Thibo Rosemplatt
c3aabfc251
Merge branch 'main' into entityTypesServerSupport
2025-08-26 21:48:20 +02:00
yangdx
c259b8f22c
Update webui assets and bump aip verion to 0208
2025-08-26 23:05:00 +08:00
yangdx
6bcfe696ee
feat: add output length recommendation and description type to LLM summary
...
- Add SUMMARY_LENGTH_RECOMMENDED parameter (600 tokens)
- Optimize prompt temple for LLM summary
2025-08-26 14:41:12 +08:00
yangdx
cb0fe38b9a
Fix linting
2025-08-26 02:22:34 +08:00
yangdx
de2daf6565
refac: Rename summary_max_tokens to summary_context_size, comprehensive parameter validation for summary configuration
...
- Update algorithm logic in operate.py for better token management
- Fix health endpoint to use correct parameter names
2025-08-26 01:35:50 +08:00
Thibo Rosemplatt
f5938f76bc
Azure OpenAI requires import of OpenAILLMOptions (missing)
2025-08-24 00:28:49 +02:00
Thibo Rosemplatt
d054ec5d00
Added entity_types as a user defined variable (via .env)
2025-08-23 20:16:11 +02:00
yangdx
49ea9a79a7
Update rerank doc in README
2025-08-23 23:06:10 +08:00
yangdx
3d5e6226a9
Refactored rerank_example file to utilize the updated rerank function.
2025-08-23 22:51:41 +08:00
yangdx
1be9a54c8d
Rename ENABLE_RERANK to RERANK_BY_DEFAULT and update default to true
2025-08-23 09:46:51 +08:00