yangdx
8b6dcfb6eb
Pls do not use /delete_document API endpoint
2025-06-24 11:26:38 +08:00
yangdx
5ae945c1e5
Improved error handling for document deletion
...
Added HTTPException for not_found status
Added HTTPException for fail status
2025-06-24 01:12:25 +08:00
yangdx
c18065a912
Disable document deletion when LLM cache for extraction is off
2025-06-23 22:41:27 +08:00
yangdx
1973c80dca
Feat: Add entity and relation deletion endpoints
2025-06-23 22:14:50 +08:00
yangdx
bd487dd252
Unify document APIs returen status string
2025-06-23 21:38:47 +08:00
yangdx
5099ac8213
Fix linting
2025-06-23 18:41:30 +08:00
yangdx
dffe659388
Feat: Add document deletion by ID API endpoint
...
- New DELETE endpoint for document removal
- Implements doc_id-based deletion
- Handles pipeline status during operation
- Includes proper error handling
- Updates pipeline status messages
2025-06-23 18:10:40 +08:00
yangdx
888be97b06
Fix linting
2025-06-11 16:36:05 +08:00
yangdx
c3f5c413fa
feat(api): add /ps endpoint to list running models for Ollama API
2025-06-11 16:23:02 +08:00
yangdx
9351b09cc7
Enhance Ollama interface compatibility
2025-06-11 15:16:32 +08:00
yangdx
7b07d4c917
feat: 支持 LiteLLM 客户端的 application/octet-stream 请求
...
修改 Ollama API 路由处理程序,使 /chat 和 /generate 端点能够接受 Content-Type 为 application/octet-stream 的请求。通过绕过 FastAPI 的自动请求验证机制,手动解析请求体,解决了 LiteLLM 客户端连接时出现的 422 错误。此更改保持了对现有 application/json 请求的向后兼容性。
2025-06-11 13:42:30 +08:00
yangdx
ad81e59d9a
Fix logger problem
2025-06-11 13:30:45 +08:00
yangdx
e14c69ce4a
Merge branch 'belabon25/main'
2025-05-22 10:06:52 +08:00
yangdx
a6046bf827
Fix linting
2025-05-22 10:06:09 +08:00
yangdx
bb27bb4309
Fix linting
2025-05-22 09:59:53 +08:00
Benjamin L
1b6ddcaf5b
change validator method names
2025-05-21 16:06:35 +02:00
Benjamin L
62b536ea6f
Adding file_source.s as optional attribute to text.s requests
2025-05-21 15:10:27 +02: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
fb4f12ba8e
Add user prompt support for Ollama api
2025-05-09 11:37:43 +08:00
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
yangdx
36f8787bc7
Fix linting
2025-05-01 10:04:31 +08:00
yangdx
a561be0cff
Fix time zone problem of doc status
2025-05-01 02:16:19 +08:00
yangdx
31bd274601
Add Unicode collation for Chinese file sorting of document scanning
2025-04-25 01:02:09 +08:00
yangdx
3aab5b41f2
Fix linting
2025-04-24 14:15:10 +08:00
yangdx
fc425f1397
Send all found files to pipeline at once
2025-04-24 14:00:43 +08:00
drahnreb
9c6b5aefcb
fix linting
2025-04-18 16:24:43 +02:00
drahnreb
20ba1eb9c2
add: to optionally replace default tiktoken Tokenizer with a custom one
2025-04-18 16:24:43 +02:00
yangdx
017169b571
Fix linting
2025-04-14 13:29:56 +08:00
yangdx
c834570cfc
Fix import error
2025-04-14 12:36:41 +08:00
choizhang
5b1938e5b3
feat(webui): Add attribute editing dialog box and optimize editable attribute row component
2025-04-13 23:32:35 +08:00
choizhang
4900cf07d9
Merge branch 'main' into edit-node
2025-04-13 11:51:55 +08:00
choizhang
5e5f3640d7
2025-04-13 10:50:42 +08:00
choizhang
7e3e685763
feat(graph): Add editing function for entity and relationship attributes
2025-04-12 00:48:19 +08:00
Daniel.y
a2694a73d9
Merge pull request #1345 from zhudongwork/docx-dev
...
Optimize: Use python-docx for better parsing.
2025-04-11 15:30:03 +08:00
cuikunyu
135a40d696
Optimize: Use python-docx for better parsing.
2025-04-11 03:10:20 +00:00
choizhang
0944df2679
docs: Translate annotations
2025-04-11 02:57:34 +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
25f2ecb5a9
Fix linting
2025-04-08 18:47:50 +08:00
yangdx
1375b8eea7
Fix linting
2025-04-08 18:46:09 +08:00
yangdx
fa8f6d615a
Improve context only mode for Ollama api
2025-04-08 18:41:00 +08:00
Exploding-Soda
7432450e46
Add /context query prefix to Ollama model simulation for LightRAG Server
2025-04-08 02:16:40 +08:00
yangdx
bd2c528dba
Merge branch 'optimize-config-management' into clear-doc
2025-04-04 19:46:45 +08:00
yangdx
d7d04a0d94
Update graph retrival api(abandon pydantic model)
2025-04-02 18:32:03 +08:00
yangdx
d62a77500b
Update graph retrival api
2025-04-02 17:21:45 +08:00
yangdx
4994bd1461
Simplified graph retrival by removing inclusive and min_degree parameters
2025-04-02 16:27:58 +08:00
yangdx
b0f0f1ff84
refactor: improve document clearing status management
...
- Use update() for atomic status updates
- Improve history messages clearing while preserving list object
2025-04-01 14:03:45 +08:00
yangdx
cd94e84267
Update clear cache endpoint path
2025-04-01 10:36:28 +08:00
yangdx
d54bda8d36
feat(api): Add Pydantic models for all endpoints in document_routes.py
2025-03-31 23:53:14 +08:00
yangdx
8845779ed7
Add clear cache API endpoint
2025-03-31 23:37:03 +08:00