[PR #273] [MERGED] feat: auto rule generator #22410

Closed
opened 2026-02-21 20:18:54 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/273
Author: @takatost
Created: 5/31/2023
Status: Merged
Merged: 5/31/2023
Merged by: @takatost

Base: mainHead: feat/rule-generator


📝 Commits (2)

  • 0ba8ccf feat: add rule config generator
  • 1ce37e7 feat: optimize FORMATTING rule in json returning prompt

📊 Changes

9 files changed (+255 additions, -73 deletions)

View changed files

📝 api/controllers/console/__init__.py (+1 -1)
📝 api/controllers/console/app/app.py (+2 -37)
api/controllers/console/app/generator.py (+75 -0)
📝 api/core/chain/llm_router_chain.py (+4 -34)
📝 api/core/chain/multi_dataset_router_chain.py (+2 -1)
📝 api/core/generator/llm_generator.py (+44 -0)
api/core/prompt/output_parser/rule_config_generator.py (+32 -0)
📝 api/core/prompt/prompts.py (+57 -0)
api/libs/json_in_md_parser.py (+38 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify/pull/273 **Author:** [@takatost](https://github.com/takatost) **Created:** 5/31/2023 **Status:** ✅ Merged **Merged:** 5/31/2023 **Merged by:** [@takatost](https://github.com/takatost) **Base:** `main` ← **Head:** `feat/rule-generator` --- ### 📝 Commits (2) - [`0ba8ccf`](https://github.com/langgenius/dify/commit/0ba8ccf9b108a4b3882ccc0755d98c3f60bbb8a5) feat: add rule config generator - [`1ce37e7`](https://github.com/langgenius/dify/commit/1ce37e779335097b27267c5c31ccac4b655fec34) feat: optimize FORMATTING rule in json returning prompt ### 📊 Changes **9 files changed** (+255 additions, -73 deletions) <details> <summary>View changed files</summary> 📝 `api/controllers/console/__init__.py` (+1 -1) 📝 `api/controllers/console/app/app.py` (+2 -37) ➕ `api/controllers/console/app/generator.py` (+75 -0) 📝 `api/core/chain/llm_router_chain.py` (+4 -34) 📝 `api/core/chain/multi_dataset_router_chain.py` (+2 -1) 📝 `api/core/generator/llm_generator.py` (+44 -0) ➕ `api/core/prompt/output_parser/rule_config_generator.py` (+32 -0) 📝 `api/core/prompt/prompts.py` (+57 -0) ➕ `api/libs/json_in_md_parser.py` (+38 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-21 20:18:54 -05:00
yindo closed this issue 2026-02-21 20:18:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22410