Commit graph

5203 commits

Author SHA1 Message Date
Daniel.y
358e4334f2
Merge pull request #2143 from danielaskdd/fix-ui
Feature: Add Enhanced Markdown Support for WebUI
2025-09-24 22:18:23 +08:00
yangdx
810493b7c9 Update webui assets and bump API version to 0229 2025-09-24 22:16:59 +08:00
yangdx
f610bd5d21 Update citation format to use bullet points and add examples
- Change citation format to `* [n]`
- Add reference section examples
- Apply to both prompt templates
- Improve formatting consistency
2025-09-24 21:59:21 +08:00
yangdx
95987ff56c Add rehype-raw plugin for better HTML rendering in markdown
• Add rehype-raw dependency
• Enable HTML parsing in markdown
• Style sup/sub/mark/u/del/ins elements
• Apply to both thinking and main content
• Improve markdown display capabilities
2025-09-24 21:37:03 +08:00
yangdx
3d7635e097 refactor: addinging copy buttons beside each message 2025-09-24 20:43:22 +08:00
yangdx
188c912c9a Improve graph labels UI text clarity across all locales
• More specific "no matching nodes" text
• Change "Label" to "Search node name"
• Update placeholder text for clarity
• Apply changes to all 5 languages
• Enhance user experience consistency
2025-09-24 20:05:37 +08:00
yangdx
ad247f2fc1 refactor: improve accessibility and i18n for search components
• Replace label with ariaLabel prop
• Add searchPlaceholder support
• Use i18n keys for messages
• Improve aria-label attributes
• Standardize noResultsMessage fallback
2025-09-24 19:59:56 +08:00
Daniel.y
ed5911f656
Merge pull request #2140 from danielaskdd/citation-optimization
Refactor: Provide Citation Context to LLM and Improve Reference Section Generation Quality
2025-09-24 18:25:28 +08:00
yangdx
e9503ee6ae Merge branch 'patch-1' into citation-optimization 2025-09-24 18:23:29 +08:00
yangdx
f99c4a3738 Fix graph truncation logic for depth-limited traversals
• Only set truncated flag for node limit
• Keep depth limit info logging
• Improve log message clarity
• Fix false truncation detection
2025-09-24 18:03:11 +08:00
yangdx
ac26f3a2f2 Refactor citation format from file paths to numbered document titles
• Change citation format to [n] style
• Reduce max citations from 6 to 5
• Add reference tracking instructions
• Simplify citation merge logic
• Remove inline citation requirements
2025-09-24 14:30:53 +08:00
yangdx
5eb4a4b799 feat: simplify citations, add reference merging, and restructure API response format 2025-09-24 14:30:10 +08:00
SASon
b3cc0127d9
Fix typo in output language instruction 2025-09-24 13:22:35 +09:00
SASon
746d4c576d
Fix typo in output language instruction
from Oputput to Output
2025-09-24 13:17:37 +09:00
yangdx
18968c6b6b Update webui assets 2025-09-23 23:46:17 +08:00
yangdx
8a49f968b2 Update webui assets 2025-09-23 23:45:12 +08:00
yangdx
2475194ab9 Update i18n translation 2025-09-23 23:41:31 +08:00
yangdx
b5ebfa0cb8 Add entity type synonyms for legal, medical, and natural domains 2025-09-23 23:33:29 +08:00
yangdx
3591cb69b5 Update webui assets 2025-09-23 23:16:26 +08:00
yangdx
bdb29b0497 Expand entity type synonyms for better graph node categorization 2025-09-23 23:16:17 +08:00
Daniel.y
bc893db8ed
Merge pull request #2137 from danielaskdd/legend-color
Refactor node type legend and color mapping
2025-09-23 22:42:44 +08:00
yangdx
6a599680ec Update webui assets 2025-09-23 22:41:43 +08:00
yangdx
7b63c16b1c Set empty query labels to wildcard '*' for proper graph display
• Handle empty/whitespace query labels
• Auto-set to '*' when label is blank
• Ensure consistent graph behavior
• Prevent invalid query states
2025-09-23 22:41:31 +08:00
yangdx
c9c691384b Update webui assets 2025-09-23 22:33:47 +08:00
yangdx
34d91eb288 Update node type translation 2025-09-23 22:33:39 +08:00
yangdx
be1216770e Fix linting 2025-09-23 22:31:15 +08:00
yangdx
faa65d39c3 Update webui assets 2025-09-23 22:28:54 +08:00
yangdx
9dd1790b5c Add "Creature" entity type and reorganize type mappings
- Add Creature to default entity types
- Map animals/beings to creature type
2025-09-23 21:58:33 +08:00
yangdx
7a66c009ed Refactor node type legend color mapping
- Reduce chaos legend by storing standard node type
- Reset lengend on graph manual refresh
- Optimize color mapping for new node type schema
2025-09-23 19:48:16 +08:00
Daniel.y
203004ead6
Merge pull request #2135 from danielaskdd/reject-duplicate-file
feat: Implement Comprehensive Document Duplication Prevention System
2025-09-23 17:32:51 +08:00
yangdx
2adb8efdc7 Add duplicate document detection and skip processed files in scanning
- Add get_doc_by_file_path to all storages
- Skip processed files in scan operation
- Check duplicates in upload endpoints
- Check duplicates in text insert APIs
- Return status info in duplicate responses
2025-09-23 17:30:54 +08:00
yangdx
6b953fa53d Remove auto-scan-at-startup feature and related documentation
• Remove --auto-scan-at-startup arg
• Delete auto scan docs sections
• Remove startup scanning logic
2025-09-23 16:24:53 +08:00
yangdx
fc15e9f142 Update webui assets 2025-09-23 13:25:11 +08:00
yangdx
fa2938cf33 Increase tooltip max width in PropertiesView 2025-09-23 13:24:31 +08:00
yangdx
8093bfb5a3 Update webui assets 2025-09-23 13:12:00 +08:00
yangdx
cc0eed1c8c Format <SEP> separators as newlines in properties view for non editable value
- Convert <SEP> to semicolon + newline
- Apply formatting to text and tooltip
2025-09-23 13:10:06 +08:00
yangdx
367f3df038 Fix log message 2025-09-23 11:25:55 +08:00
yangdx
a4442a8613 Optimize log message 2025-09-23 11:22:14 +08:00
yangdx
86186c0c85 Update log message 2025-09-23 11:08:33 +08:00
yangdx
55774bf394 Mark get_all_labels method as deprecated in BaseGraphStorage 2025-09-22 18:24:10 +08:00
yangdx
6b3a341977 Increase default PostgreSQL max connections from 20 to 50 2025-09-22 18:11:28 +08:00
yangdx
55176a24b4 Update env.example 2025-09-22 17:49:22 +08:00
Daniel.y
c1fd2946da
Merge pull request #2132 from danielaskdd/history-on-bypass-mode
feat(webui): Force sending history messages in bypass mode
2025-09-22 15:18:10 +08:00
yangdx
20802b1ee6 Update webui assets 2025-09-22 15:16:23 +08:00
yangdx
5b0ad167d6 feat: Force sending history messages in bypass mode
• Force history turns to 3 for bypass mode if current setting is 0
• Add this feature allowing the LLM to generate output based on conversation history.
2025-09-22 15:09:34 +08:00
Daniel.y
7d785cde7b
Merge pull request #2131 from danielaskdd/fix-autocomplete
Fix: Restore browser autocomplete functionality in message input box
2025-09-22 13:05:07 +08:00
yangdx
0268768ecd Update webassets and bump API version to 0227 2025-09-22 13:03:27 +08:00
yangdx
40c8f1ef7b feat: add smart input switching between Input and Textarea components
• Switch to Textarea for multi-line input
• Handle Shift+Enter for newlines
• Maintain focus during component switch
• Support multi-line paste operations
• Auto-adjust textarea height dynamically
2025-09-22 13:00:22 +08:00
yangdx
5fa92cbf99 Improve citation quality and reduce reference limits in prompts
- Reduce max citations from 8 to 6
- Require direct fact referencing
- Clarify relevance prioritization
2025-09-22 10:53:03 +08:00
Daniel.y
aafed7649b
Merge pull request #2129 from danielaskdd/fix-webui
WebUI Bugfix and Improvement
2025-09-22 03:31:08 +08:00