yangdx
04d793abbd
Update logger message
2025-07-03 22:15:32 +08:00
yangdx
67f51597c2
Bump api version to 0178
2025-07-03 21:37:47 +08:00
yangdx
05231233f1
Feat: Check pending equest_pending after document deletion
...
- Add double-check for pipeline status to prevent race conditions
- Implement automatic processing of pending indexing requests after deletion
2025-07-03 21:36:35 +08:00
SLKun
4e88ee3662
update ollama compatible api
2025-06-30 10:41:35 +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
a506753548
Fix linting
2025-06-27 02:33:20 +08:00
yangdx
60777d535b
fix: prevent Path Traversal vulnerability in upload endpoint
...
- Add sanitize_filename() function to validate and clean uploaded filenames
- Remove path separators, traversal sequences, and control characters
- Verify final paths stay within input directory using Path.resolve()
- Return HTTP 400 errors for unsafe filenames
- Prevents directory traversal attacks like ../../../etc/passwd
2025-06-27 02:33:05 +08:00
yangdx
8fb1c09b08
Refac: pipelinge message
2025-06-26 01:00:54 +08:00
yangdx
bdcd55a871
Feat: Add delete upload file option to document deletion
2025-06-25 19:02:46 +08:00
yangdx
51bb0471cd
Change the API for deleting documents to support deleting multiple documents at once.
2025-06-25 16:19:49 +08:00
yangdx
495d6c8cce
Improve the pipeline status message for document deletetion
2025-06-25 15:46:58 +08:00
yangdx
2aaa6d5f7d
Fix linting
2025-06-25 14:59:45 +08:00
yangdx
49baeb7318
Change document deletion API to async
2025-06-25 14:59:10 +08:00
yangdx
922484915b
Remove deprecated API endpoint.
2025-06-25 13:55:47 +08:00
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