Commit Graph

2251 Commits (deploy/rag-dev)

Author SHA1 Message Date
Chieh Wang 30aa052a57
feat: Add Citations and Attributions to Agent Node (#18558)
Co-authored-by: oneness0 <2902216407@qq.com>
Co-authored-by: Novice <novice12185727@gmail.com>
7 months ago
qfl bdb9f29948
feat(app): support custom max_active_requests per app (#22073) 7 months ago
Minamiyama 66cc1b4308
feat(variable-list): add drag-and-drop functionality for variables in code node (#22127) 7 months ago
baonudesifeizhai d52fb18457
feat: auto-fill MCP server description with app description #22443 (#22477) 7 months ago
twwu e7f31a66be fix: correct notification type for successful dataset conversion 7 months ago
Wu Tianwei aef67ed7ec
fix: add background color for chat bubble in light and dark themes (#22472) 7 months ago
QuantumGhost 2c1ab4879f
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025)
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025)

This PR addresses serialization issues in the VariablePool model by separating the `value_type` tags for `IntegerSegment`/`FloatSegment` and `IntegerVariable`/`FloatVariable`. Previously, both Integer and Float types shared the same `SegmentType.NUMBER` tag, causing conflicts during serialization.

Key changes:
- Introduce distinct `value_type` tags for Integer and Float segments/variables
- Add `VariableUnion` and `SegmentUnion` types for proper type discrimination
- Leverage Pydantic's discriminated union feature for seamless serialization/deserialization
- Enable accurate serialization of data structures containing these types

Closes #22024.
7 months ago
Kerwin Bryant 229b4d621e
Improve Tooltip UX by enabling delay by default (#21383) 7 months ago
yolofit 0dee41c074
fix: When var value changed, PromptEditor should be reset (#22219) 7 months ago
twwu 5c0d19e36d fix: improve handleVariableNameBlur logic to prevent setting label when it already exists 7 months ago
twwu e0753ebfd1 fix: update dataset conversion endpoint path for correct API integration 7 months ago
znn 1f4b3591ae
adding tooltip for bindingCount (#22450)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
7 months ago
twwu b8e9b97f07 feat: implement dataset conversion to pipeline with success and error notifications 7 months ago
GuanMu 7388fd1ec6
fix: Disable question editing in chat history (#22438) 7 months ago
GuanMu b803eeb528
fix: Update condition items to support variable type acquisition (#22414) 7 months ago
GuanMu d427088ab5
fix: remove PickerPanel padding (#22419) 7 months ago
Minamiyama 7e666dc3b1
fix(prompt-editor): show error warning for destructive env and conv var (#21802) 7 months ago
suntp 88537991d6
fix: Metadata filtering with Manual option in Agent mode does not take effect when specifying input variables. (#20362) 7 months ago
Minamiyama a0b32b6027
feat(config-modal): add space to underscore conversion in variable name input of start node (#22284) 7 months ago
twwu 405139c377 fix: add isRunning prop to ProcessDocuments and related components for better processing state management 7 months ago
twwu 3e5772c50c fix: enhance layout and tooltip handling in Actions component 7 months ago
twwu cb8fab7364 Merge branch 'feat/rag-2' of https://github.com/langgenius/dify into feat/rag-2 7 months ago
twwu 60f3832c65 fix: refactor OptionCard and StepTwo components for improved structure and readability 7 months ago
Joel cf89d06023 fix: single run url error in pipeline 7 months ago
Joel e095de05c5 feat: pipeline run 7 months ago
Joel 82f4b35d52 chore: use flow type instead of whole url 7 months ago
Joel 7a9faf909e feat: workflow use common last run 7 months ago
twwu d77d86f53b fix: remove unused showWorkflowEmpty prop from Tools component for cleaner code 7 months ago
GuanMu b27c540379
Fix: Remove height and overflow style settings (#22327) 7 months ago
HyaCinth 8b1f428ead
Chore: Replace lodash/noop with lodash-es/noop (#22331) 7 months ago
twwu 2a5bab10b8 fix: pass dataSources prop to PortalToFollowElem for improved functionality 7 months ago
twwu 6313f819cf fix: add block enumeration and tool icon handling for enhanced workflow functionality 7 months ago
twwu 682b65034c Merge branch 'main' into feat/rag-2 7 months ago
twwu adbad0ad33 fix: enhance bucket list initiation check for improved accuracy 7 months ago
Minamiyama 016ff0feae
fix(ui): prevent var icon hidden when only one var in list of start node (#22290) 7 months ago
非法操作 aa6cad5f1d
fix: tool's model selector and app selector not work (#22291) 7 months ago
yolofit 817071e448
fix: iteration itemType support conversation var (#22220) (#22236) 7 months ago
GuanMu f193e9764e
fix: Optimize the workspace panel width calculation (#22195) 7 months ago
Minamiyama 5f9628e027
feat(workflow): add drag-and-drop support for variable list items for start node (#22150) 7 months ago
twwu 0fdb1fedb0 feat: add PluginDependency component to RagPipelineChildren and WorkflowChildren for enhanced functionality 7 months ago
twwu 23a6fe3259 fix: adjust default selection of crawl results based on pipeline status 7 months ago
HyaCinth 76d21743fd
fix(web): Optimize AppInfo Component Layout (#22212) (#22218) 7 months ago
HyaCinth 2d3c5b3b7c
fix(emoji-picker): Adjust the style of the emoji picker (#22161) (#22231) 7 months ago
twwu 90d0f12ee9 refactor: update file extension handling in ChunkPreview component to use dynamic extension retrieval 7 months ago
Joel 1d85979a74
chore:extract last run common logic (#22214) 7 months ago
twwu 50e16f8362 refactor: optimize state selection in data source components using useShallow for improved performance 7 months ago
twwu 9dbb06fccc fix: Fix node panel positioning issue when chat log modal is open 7 months ago
le0zh fe4e2f7921
feat: support var in suggested questions (#17340)
Co-authored-by: crazywoola <427733928@qq.com>
7 months ago
Marcelo Díaz 9a9ec0c99b
feat: Add Audio configuration setting to app configuration UI (#21957) 7 months ago
twwu 58a3471a5f refactor: update variable utility functions to include isRagVariableVar for enhanced variable validation 7 months ago
Wu Tianwei c805238471
fix: adjust layout styles for header and dataset update (#22182) 7 months ago
诗浓 e576b989b8
feat(tool): add support for API key authentication via query parameter (#21656) 7 months ago
Joel 11f9a897e8
chore: fix schema editor can not hover item (#22155) 7 months ago
twwu 3e187ba6aa refactor: update BlockIcon component to handle Tool and DataSource types for conditional rendering 7 months ago
twwu f677f2f71b refactor: update useEffect dependency to include currentPage.page_id for proper content fetching 7 months ago
非法操作 c51b4290dc
fix: mcp server card button display (#22141) 7 months ago
twwu de6867f875 refactor: update CrawledResult and WebsiteCrawl components to handle showPreview prop and adjust previewIndex logic 7 months ago
twwu c39746181d refactor: update data source store usage in LocalFile and WebsiteCrawl components 7 months ago
twwu 15cd9e0b12 refactor: rename selectedFileList to selectedFileKeys across components and update related logic 7 months ago
Joel 5375d9bb27
feat: the frontend part of mcp (#22131)
Co-authored-by: jZonG <jzongcode@gmail.com>
Co-authored-by: Novice <novice12185727@gmail.com>
Co-authored-by: nite-knite <nkCoding@gmail.com>
Co-authored-by: Hanqing Zhao <sherry9277@gmail.com>
7 months ago
twwu e66c2badda refactor: update error handling to use DataSourceNodeErrorResponse in OnlineDocuments and WebsiteCrawl components 7 months ago
twwu 6030ae9d0f refactor: integrate currentNodeIdRef into data source store and update related components 7 months ago
twwu 42fd40500a refactor: remove isTruncated state and update related logic to use mutable refs 7 months ago
twwu 611bc728d0 fix: update hover background color for disabled and active NavLink states 7 months ago
twwu e2a141b3bb Merge branch 'main' into feat/rag-2 7 months ago
Minamiyama a9cc19f530
feat(question-classifier): add drag-and-drop sorting for topics list (#22066)
Co-authored-by: crazywoola <427733928@qq.com>
7 months ago
NFish 785c4caa67
fix: allow update plugin install settings (#22111) 7 months ago
Heyang Wang 4403bc67a1
fix(Drawer): add overflow hidden to ensure copy button is always clickable (#21992) (#22103)
Co-authored-by: wangheyang <wangheyang@corp.netease.com>
7 months ago
twwu 966e6e03fc style: Update component attributes to use single quotes and adjust z-index in ContentDialog 7 months ago
twwu a2e0bc26c6 feat: Add conversion functionality to Knowledge Pipeline with UI and translations 7 months ago
twwu 7c6bdb9ec9 feat: Enhance operations with pause and resume functionality 7 months ago
twwu 9e44f2b805 Merge branch 'main' into feat/rag-2 7 months ago
Davide Delbianco 1885426421
feat: Allow to change SSL verify in HTTP Node (#22052)
Co-authored-by: crazywoola <427733928@qq.com>
7 months ago
Minamiyama 3643ed1014
Feat: description field for env variables (#21556) 7 months ago
twwu e7d394f160 feat: Add DatasetSidebarDropdown component and integrate ExtraInfo for dataset details 7 months ago
twwu 4ea4d227c6 refactor: Remove unused file support types logic from CreateFormPipeline component 7 months ago
twwu 4a8061d14c fix: Integrate dataset list reset functionality in dropdown and step two components 7 months ago
twwu 59c3305dcc feat: Enhance dataset dropdown functionality with export and delete options 7 months ago
twwu 8fc15c83d0 feat: Refactor dataset info components and add export pipeline functionality 7 months ago
kurokobo e39236186d
feat: introduce new env ALLOW_UNSAFE_DATA_SCHEME to allow rendering data uri scheme (#21321) 7 months ago
Davide Delbianco 816210d744
Expose LLM usage in workflows (#21766)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
7 months ago
twwu 1c85dada53 feat: Implement sidebar toggle functionality with keyboard shortcuts and improve translations 7 months ago
twwu b3431ab0c4 feat: Refactor online drive components to improve file retrieval and selection logic 7 months ago
Minamiyama f925869f61
fix(variable): ensure unique variable names in var-list (#22038) 7 months ago
twwu 073a0974a4 fix: Update breadcrumb click handling to close dropdown and adjust prefix slicing logic 7 months ago
twwu e911a4e719 fix: Update button styles and improve file size validation in breadcrumb and item components 7 months ago
NFish f62b59a805
don't add search params when opening detail links from marketplace. (#22034) 7 months ago
twwu 5e2b60664f fix: Improve item selection logic and reset selected file list on folder open 7 months ago
twwu b36f36d242 feat: Enhance CreateFormPipeline with file selection and validation for online documents and drives 7 months ago
Minamiyama a4bdeba60d
feat(question-classifier): add instanceId to class-item editor (#22002) 7 months ago
Minamiyama 71385d594d
fix(variables): Improve `getNodeUsedVars` implementation details (#21987) 7 months ago
鸽子 aded30b664
fix: resolve dropdown menu visibility issue caused by z-index conflict (#22000) 7 months ago
twwu 467cd2c4c1 fix: Update onlineDrive file check to use selectedFileList for better validation 7 months ago
twwu d3ca50626d feat: Integrate useOnlineDrive hook and enhance datasource handling in CreateFormPipeline 7 months ago
twwu 13f168ed1c refactor: Refactor Online Drive components to improve state management and add truncation support 7 months ago
Minamiyama c48b32c9e3
ENH(ui): enhance check list (#21932)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
7 months ago
twwu 83c8219942 feat: Enhance file item component with support for disabled state and file type validation 7 months ago
mizoo de22648b9f
feat: Add support for type="hidden" input elements in Markdown forms (#21922)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
7 months ago
heyszt a201e9faee
feat: Add Aliyun LLM Observability Integration (#21471) 7 months ago
HyaCinth fec6bafcda
refactor(web): Restructure the operation buttons layout in the app information component (#21742) (#21818) 7 months ago