forked from infiniflow/ragflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create blank canvas infiniflow#918 (infiniflow#1356)
### What problem does this PR solve? feat: create blank canvas infiniflow#918 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
- Loading branch information
Showing
9 changed files
with
177 additions
and
6 deletions.
There are no files selected for viewing
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"edges": [ | ||
{ | ||
"id": "c87c7805-8cf0-4cd4-b45b-152031811020", | ||
"label": "", | ||
"source": "begin", | ||
"target": "answer:0" | ||
}, | ||
{ | ||
"id": "e30320bb-601b-4885-acb3-79becdc49f08", | ||
"label": "", | ||
"source": "generate:0", | ||
"target": "answer:0" | ||
}, | ||
{ | ||
"id": "83927e42-739a-402a-9f75-a88d4fab37ed", | ||
"label": "", | ||
"source": "answer:0", | ||
"target": "generate:0" | ||
} | ||
], | ||
"nodes": [ | ||
{ | ||
"id": "begin", | ||
"type": "beginNode", | ||
"position": { | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"data": { | ||
"label": "Begin", | ||
"name": "FruityPianosSend", | ||
"form": { | ||
"prologue": "Hi there! Please enter the text you want to translate in format like: 'text you want to translate' => target language. For an example: 您好! => English" | ||
} | ||
}, | ||
"sourcePosition": "left", | ||
"targetPosition": "right" | ||
}, | ||
{ | ||
"id": "answer:0", | ||
"type": "ragNode", | ||
"position": { | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"data": { | ||
"label": "Answer", | ||
"name": "YummyBoatsFlow", | ||
"form": {} | ||
}, | ||
"sourcePosition": "left", | ||
"targetPosition": "right" | ||
}, | ||
{ | ||
"id": "generate:0", | ||
"type": "ragNode", | ||
"position": { | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"data": { | ||
"label": "Generate", | ||
"name": "SwiftTramsDrop", | ||
"form": { | ||
"llm_id": "deepseek-chat", | ||
"prompt": "You are an professional interpreter.\n- Role: an professional interpreter.\n- Input format: content need to be translated => target language. \n- Answer format: => translated content in target language. \n- Examples:\n - user: 您好! => English. assistant: => How are you doing!\n - user: You look good today. => Japanese. assistant: => 今日は調子がいいですね 。\n", | ||
"temperature": 0.5 | ||
} | ||
}, | ||
"sourcePosition": "left", | ||
"targetPosition": "right" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters