zrguo
d4651d59c1
Add rerank to server
2025-07-08 21:44:20 +08:00
yangdx
0f51ec48f1
fix: streaming error when only_need_context=True returns empty results
...
Prevents NoneType async iteration error by handling None responses
in stream_generator and ensuring kg_query returns valid strings.
2025-06-28 09:18:06 +08:00
yangdx
bb27bb4309
Fix linting
2025-05-22 09:59:53 +08:00
yumpyy
4d806a1263
feat(api): update endpoint to support new parameter
...
Update the API server to support the new parameter from the core library (PR #1032 ).
2025-05-21 15:50:05 +05:30
yangdx
d914de441e
Add user_prompt to WebUI
2025-05-08 04:15:21 +08:00
yangdx
147f73002d
Remove ll-keywords and hl-keywords from WebUI
2025-05-07 19:07:31 +08:00
choizhang
a12d60e4ea
feat: Add query mode 'bypass' to bypass knowledge retrieval and directly use LLM
2025-04-11 02:57:34 +08:00
yangdx
90ef55960d
Refactor authentication and whitelist handling
...
- Combined auth and API key dependencies
- Optimized whitelist path matching
- Added optional API key to OllamaAPI
2025-03-24 05:23:40 +08:00
Milin
63aa4f9dfc
feat(api): Add user authentication functionality
...
- Implement JWT-based user authentication logic
- Add login endpoint and token validation middleware
- Update API routes with authentication dependencies
- Add authentication-related environment variables
- Optimize requirements.txt with necessary dependencies
2025-03-05 11:09:31 +08:00
yangdx
9ba12a4f31
refactor: remove redundant top_k checks in query routes
...
The top_k parameter already has a default value set in the QueryParam class (base.py), making these checks unnecessary. This change simplifies the code while maintaining the same functionality.
Changes:
Remove top_k check in query_text function
Remove top_k check in query_text_stream function
2025-02-21 18:53:43 +08:00
yangdx
a8abcf14ac
Fit linting
2025-02-20 04:12:21 +08:00
yangdx
c0c87edc45
split lightrag_servery.py to smaller files
2025-02-20 03:26:39 +08:00