Commit Graph

727 Commits

Author SHA1 Message Date
FFXN
df83a9a07c feat: summary index for knowledge. (#670)
* feat: summary index for knowledge.

* feat: summary index for knowledge.

* align terminology

* add zh and ja translation

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2026-02-03 22:02:28 +08:00
Riskey
567e7e0068 Add content related to summary index (#678)
* draft: add content related to summary index

* refine the chunking configurations page

* Revise based on hands-on testing

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix formatting for URL and email removal section

---------

Co-authored-by: Riskey <riskey47@dify.ai>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-03 21:39:42 +08:00
Riskey
79f9ea9b03 Update TiDB-related content (#672)
Co-authored-by: Riskey <riskey47@dify.ai>
2026-01-27 14:44:33 +08:00
Zhedong Cen
96b1aeea62 Update environment variable docs for OceanBase and seekdb (#669)
* Update environment variable docs for OceanBase and SeekDB

Expanded supported DB_TYPE values to include 'oceanbase' and 'seekdb' in `environments.mdx`. Clarified that OceanBase vector database settings also apply to seekdb, and replaced placeholder/English-only Japanese and Chinese docs with full, auto-translated content including all environment variable explanations.

* Remove ja and zh docs

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2026-01-26 15:14:20 +08:00
Riskey
ff1f41e5e3 restore the api-extension-related docs (#663)
Co-authored-by: Riskey <riskey47@dify.ai>
2026-01-21 15:12:52 +08:00
Riskey
1a808c3456 Add JSON code content to the user input node page (#662)
Co-authored-by: Riskey <riskey47@dify.ai>
v1.11.3 v1.11.4
2026-01-14 14:12:49 +08:00
Riskey
9c78ce127d Fix/update introduction links (#661)
* fix the broken link for the en user input node

* replace the legacy link prefix for ja and zh introduction

* remove the redundant zh pages

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2026-01-09 21:37:52 +08:00
github-actions[bot]
92cd93ba68 🌐 Initial translations for PR #659 (#660)
Auto-generated translations for documentation changes in PR #659.

Last-Processed-Commit: c4cf03ba17
Original-PR: #659
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-08 15:58:26 +08:00
Riskey
dfe510bafb update the schedule trigger limit per workflow (#659)
Co-authored-by: Riskey <riskey47@dify.ai>
2026-01-08 15:53:15 +08:00
Jyong
fecc1138d5 fix(api): fix en/api-reference/openapi_knowledge.json (#657)
* fix(api): change reranking_mode to reranking_model in openapi_knowledge.json

* add reranking mode field

* update reranking mode description;  standardize rerank model terminology

---------

Co-authored-by: Zhiqiang Yang <58433399+yangzq50@users.noreply.github.com>
Co-authored-by: Riskey <riskey47@dify.ai>
2026-01-08 14:09:50 +08:00
Abudu
202eae8baf fix(translation): Include command for removing orphaned files for Chinese (#656)
* fix(translation): Include command for removing orphaned files for Chinese

Add command to remove orphaned files from OpenDAL storage for Chinese.

* Fix malformed code fence syntax

* adjust indent

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2026-01-04 13:09:12 +08:00
github-actions[bot]
6ecbc4153f 🌐 Initial translations for PR #654 (#655)
Auto-generated translations for documentation changes in PR #654.

Last-Processed-Commit: 63f964a0074f467f781dfb80ac00dba830626a68
Original-PR: #654
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-04 12:46:58 +08:00
Riskey
bac200d031 Refine images and indents; fix the wrong title of variable inspector page (#654)
* correct the variable inspect page title

* refine images and indents

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2026-01-04 12:46:01 +08:00
Riskey
b9497760cb Update ee docs (#653)
* create 3.4.x navigation

* add content related to multi-credential management and load balancing for 3-5-x

* add content related to knowledge pipeline for 3-6-x

* add content related to trigger, multimodal embedding, and json object for 3-7-x

* changes upon review

* remove unnecessary links

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-31 18:20:53 +08:00
Riskey
2da8eb41f0 Temporarily remove the json code field from user input page (#651)
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-30 15:46:22 +08:00
github-actions[bot]
465749876c 🌐 Sync PR #645 translations: Add more notes about the extracted image url (#646)
* 🌐 Initial translations for PR #645

Auto-generated translations for documentation changes in PR #645.

Last-Processed-Commit: a82cdffc83
Original-PR: #645
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* Update readme.mdx

* Update pricing link in readme for clarity

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-26 12:32:12 +08:00
Riskey
2a734172c4 Add more notes about the extracted image url (#645)
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-26 12:31:31 +08:00
github-actions[bot]
47b663d99e 🌐 Initial translations for PR #642 (#643)
Auto-generated translations for documentation changes in PR #642.

Last-Processed-Commit: 99de3f4787
Original-PR: #642
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
v1.11.2
2025-12-25 16:43:21 +08:00
Riskey
b47f31aa6b Update content related to editing subscriptions (#642)
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-25 16:43:00 +08:00
github-actions[bot]
b20bdf10a4 🌐 Sync PR #640 translations: Update content for boolean, boolean array, and object data type support; refine user input page (#641)
* 🌐 Initial translations for PR #640

Auto-generated translations for documentation changes in PR #640.

Last-Processed-Commit: 230905536f
Original-PR: #640
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* Update variable-assigner.mdx

* Update variable-assigner.mdx

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-24 22:52:13 +08:00
Riskey
2da02258f4 Update content for boolean, boolean array, and object data type support; refine user input page (#640)
* Update content for boolean, boolean array, and object data type support; refine user input page

* correct format descriptions

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-24 22:51:00 +08:00
github-actions[bot]
688fd5756f 🌐 Sync PR #636 translations: Optimize the knowledge retrieval page (#638)
* 🌐 Initial translations for PR #636

Auto-generated translations for documentation changes in PR #636.

Last-Processed-Commit: 3f204fbd9d
Original-PR: #636
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* 🔄 Update translations for commit 623b346a

Auto-generated translations for changes in commit 623b346a77.

Last-Processed-Commit: 623b346a77
Original-PR: #636
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* Fix pricing link for batch upload information

Updated the link for the paid plan pricing page.

* Update maintain-knowledge-documents.mdx

* Update link text for knowledge base creation

* Update pricing link in readme for batch upload

* Update setting-indexing-methods.mdx

* Update knowledge-retrieval.mdx

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-24 21:56:01 +08:00
Riskey
59a18c8968 Optimize the knowledge retrieval page (#636)
* Optimize the knowledge retrieval page

* Modify some wording

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-24 21:54:58 +08:00
Chenhe Gu
61b37d88fc Fix stale PR translation revert issue (#630)
* Fix stale PR translation revert issue

When PR A is created before PR B but PR B merges first, the translation
workflow for PR A was reverting all of PR B's changes. This happened because
the translation workflow used PR A's working directory state (which is a
snapshot from before PR B existed) rather than applying only PR A's changes.

Root cause:
- setup_translation_branch() for new branches did:
  checkout -b branch → reset --soft origin/main → reset
  This kept PR's working directory which could be stale

- For incremental branches, merge_docs_json_for_incremental_update() took
  the English section from PR HEAD, which was also stale for old PRs

Fix:
- For NEW branches: Create branch directly from origin/main (not from PR's
  working directory). This ensures we start with the latest state including
  all changes from PRs merged after this PR was created.

- For EXISTING branches: Merge main's docs.json structure with our
  translations (instead of taking EN section from stale PR)

- For BOTH: Selectively checkout only the files that the PR actually changed
  from PR's head, rather than bringing in the entire working directory.
  This prevents overwriting files from other PRs.

Example issue (PR #593):
- PR #593 only added one file
- Translation PR #611 tried to delete 11 files and revert massive docs.json changes
- This was because it used PR #593's stale state from before other PRs merged

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Fix: Use PR's docs.json for finding file positions in navigation

The initial fix had a side effect: since we start from main's docs.json,
and PR's new files aren't in main's English section yet, sync_docs_json_incremental()
couldn't find where to place new files in the translation navigation.

Fix: Add `reference_sha` parameter to sync_docs_json_incremental() that loads
PR's docs.json for finding file positions, while still modifying main's
translation sections. This ensures:
1. Main's docs.json structure is preserved (no reverts)
2. New files are found in PR's docs.json
3. Translations are added at the correct positions

This also removes the unused _apply_pr_english_section_to_main() method.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Fix EN section not updated when using reference_sha

When the translation branch starts from main, the PR's docs.json
structural changes (new file entries in EN section) were not being
incorporated. This caused the translation PR to have mismatched
navigation entries.

The fix now also updates the EN section of the working directory's
docs.json when processing added files found in the reference
docs.json (from the PR).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Also remove deleted files from EN section in stale PR scenario

When processing deleted files, the sync now also removes them from the
EN section of docs.json. This is needed when the translation branch
starts from main, which may still have the deleted file entries.

Verified with comprehensive local testing covering 10 scenarios:
- Basic stale PR, multiple files, modifications, deletions
- Nested groups, new dropdowns, mixed operations
- Backward compatibility, incremental syncs, structure changes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 22:46:11 -08:00
Chenhe Gu
61466c3f45 support configuring ignored files in auto sync (#629)
* Add ignore_files config to exclude specific files from translation

Adds ability to specify source language files that should not be translated:
- New `ignore_files` array in config.json
- Validation ensures paths start with source dir, have valid extension, no traversal
- Filtering applied in PRAnalyzer.categorize_files() and SyncPlanGenerator.generate_sync_plan()

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* update config

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 15:45:28 -08:00
Gu
4f36faa03b Remove test mode from approval retrigger workflow
- Remove workflow_dispatch trigger (was for testing)
- Remove manual trigger handling code
- Uncomment fork/author/reviewer checks
- Workflow now only triggers on actual PR approvals

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 14:46:22 -08:00
Chenhe Gu
224923311b Add workflow to retrigger translation on PR approval (#625)
Closes the gap where first-time contributor PRs require maintainer
approval, but approval events don't trigger the translation workflow.

New workflow: sync_docs_on_approval.yml
- Listens to pull_request_review (submitted, approved)
- Re-runs the most recent Analyze workflow for the PR
- This triggers the existing Execute chain with fresh artifacts
- Posts "approval received" comment before starting

Note: Fork/author/reviewer checks are commented out for testing.
Search for "TODO: UNCOMMENT" to restore after testing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-22 16:25:37 -08:00
quicksand
9e278d65bf Update partial_member_list schema to require user_id objects across OpenAPI docs (#623) 2025-12-19 10:43:22 +08:00
github-actions[bot]
6b1e52799b 🌐 Sync PR #621 translations: Remove outdated content related to conversation history variables from the llm node page (#622)
* 🌐 Initial translations for PR #621

Auto-generated translations for documentation changes in PR #621.

Last-Processed-Commit: 6619ef3a4c89e922cd1d9427c757673dafef3c11
Original-PR: #621
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* Update LLM node setup instructions

Removed link to model plugin installation instructions.

* Update LLM node documentation

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-17 18:09:06 +08:00
Riskey
eafe25ce25 Remove outdated content related to conversation history variables (#621)
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-17 18:08:47 +08:00
Riskey
5d7556d5f2 Refine docs based on readability, usability, and enterprise PM feedback (#619)
* Refine docs based on internal feedback

* update the zh and ja docs

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-16 19:37:13 +08:00
github-actions[bot]
821b83c0b5 🌐 Sync PR #616 translations: Update the weaviate v4 migration docs and script (#617)
* 🌐 Initial translations for PR #616

Auto-generated translations for documentation changes in PR #616.

Last-Processed-Commit: dca5a24b25
Original-PR: #616
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* Update weaviate-v4-migration.mdx

* Update migration instructions in weaviate-v4 document

Clarified instructions for running schema migration.

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-16 13:56:43 +08:00
Riskey
212e616a02 Update the weaviate v4 migration docs and script (#616)
* updated docs and migration script

* update the dify version, add the migration script link, and improve formatting

---------

Co-authored-by: DhruvGorasiya <Dhruv.Gorasiya@student.csulb.edu>
Co-authored-by: kurokobo <2920259+kurokobo@users.noreply.github.com>
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-16 13:52:21 +08:00
Riskey
f258cdffcb correct the method type for the api that queries tags bound to a dataset (#614)
Co-authored-by: Riskey <riskey47@dify.ai>
v1.11.0 v1.11.1
2025-12-12 17:42:34 +08:00
非法操作
18b4e1683d update local source develop guide (#596)
* update local source develop guide

* improve formatting and capitalization

* Update en/self-host/advanced-deployments/local-source-code.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* update the zh and jp docs

---------

Co-authored-by: Riskey <riskey47@dify.ai>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-12 16:01:33 +08:00
非法操作
57e04ab0b1 rm variable name of variable api (#595)
* rm variable name of variable api

* update zh and jp docs

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-12 14:53:38 +08:00
非法操作
bb1d1e0503 Fix the order number of the documents. (#594)
* Fix the order number of the documents.

* fix the zh and jp docs as well

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-12 14:13:19 +08:00
非法操作
6669cce727 add missing plugin logging (#593)
* add missing plugin logging

* Update en/develop-plugin/features-and-specs/plugin-types/plugin-logs.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update en/develop-plugin/features-and-specs/plugin-types/plugin-logs.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update en/develop-plugin/features-and-specs/plugin-types/plugin-logs.mdx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* modify the file name to make it consistent with the doc title

* add zh and jp docs

* Fix log message severity level typos

* Fix typos

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Riskey <riskey47@dify.ai>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-12 12:23:29 +08:00
heyszt
4bab66539c add Alibaba Cloud monitoring integration doc en (#604)
* add aliyun monitor doc en

Change-Id: I9f3758c13c6694c764ad356a0a5a02de7e9acc3f

* fix title

Change-Id: Ic464ab29ae7db00db4741d3d1f824ab87989223d

* Post-review fixes

* add zh and jp docs

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-12 11:28:19 +08:00
Chenhe Gu
f5aacb1377 improved local auto-sync script (#592)
* move files & renames

* rename files and doc entries

* sync develop plugin files

* update group label translations

* some cleanups

* update configs

* update links

* add remote debug doc

* delete redundant slashes and unnecessary notes

* update ja and zh links

* add script to translate locally

* update

* update

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-12 10:47:46 +08:00
Riskey
60ef6820ff Revert "Auto translate works (#597)" (#609)
This reverts commit 809fc7f5eb.

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-11 16:06:51 +08:00
Alter-xyz
809fc7f5eb Auto translate works (#597)
* feat: init translation prompts from Dify workflow

Add translation prompt templates used by Dify workflow:
- 1.md: New document translation
- 2.md: Update existing translation
- 3.md: Update with diff/checklist

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: add URL localization rule to prompt 1, fix lang codes in prompt 3

- prompt 1.md: Add Rule 3 URL Localization (was missing, causing /en/ URLs to not be mapped)
- prompt 3.md: Fix language code comments (cn/jp → zh/ja to match actual folder structure)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* docs: add README for translation prompts

Document prompt file mapping to Dify workflow nodes and testing workflow.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* refactor: move prompts to tools/translate/, add testing docs

- Move prompt templates to tools/translate/prompt/ (closer to translation code)
- Add prompt testing workflow to translate-test-dify/README.md
- Document prompt-to-workflow mapping and URL localization rule

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-11 15:34:46 +08:00
github-actions[bot]
43475277f3 🌐 Sync PR #607 translations: fix the migration script link (#608)
* 🌐 Initial translations for PR #607

Auto-generated translations for documentation changes in PR #607.

Last-Processed-Commit: 8bf7e1412d
Original-PR: #607
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* Fix formatting and link text in migration guide

* Update weaviate-v4-migration.mdx

* Update weaviate-v4-migration.mdx

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-11 13:05:45 +08:00
Riskey
0312ab8852 fix the migration script link (#607)
* fix the migration script link

* fix the inline reference

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-11 13:03:11 +08:00
Riskey
82f45309ca add the migrations script (#605)
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-11 12:30:38 +08:00
github-actions[bot]
3a441d28f1 🌐 Sync PR #602 translations: Recover the original agent strategy docs from old docs repo (#603)
* 🌐 Initial translations for PR #602

Auto-generated translations for documentation changes in PR #602.

Last-Processed-Commit: 791a764092
Original-PR: #602
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* 🔄 Update translations for commit b35925e1

Auto-generated translations for changes in commit b35925e173.

Last-Processed-Commit: b35925e173
Original-PR: #602
Languages: Chinese (zh), Japanese (ja)

🤖 Generated with GitHub Actions

* Update docs.json

* Update title and terminology

* Update terminology

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Riskey <36894937+RiskeyL@users.noreply.github.com>
2025-12-09 19:46:40 +08:00
Riskey
69193b4e9f Recover the original agent strategy docs from old docs repo (#602)
* recover the original agent strategy docs from old docs repo

* Adjust the navigation order of the plugin dev docs

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-09 19:33:50 +08:00
Riskey
b65aabc65e Add docs for multimodal embedding (#600)
* draft

* migrate from old docs repo

* adjust content based on experiencing the feature

* Improvements

* changes upon feedback

* refinements

* zh draft

* add plugin dev docs

* update old links

* add jp docs

* change the position of variables related to multimodal embedding in the environment variable doc

---------

Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-09 18:43:41 +08:00
Riskey
cc7d905db7 add new redirect for the old conversation variable content link (#591)
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-06 00:50:43 +08:00
Riskey
f9975c00d7 fix the 404 link for the original conversation variable content (#590)
Co-authored-by: Riskey <riskey47@dify.ai>
2025-12-06 00:37:05 +08:00