Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
heshengtao committed Jun 2, 2024
2 parents 3f9ba84 + 7a8e337 commit 9454edc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions how_to_use_nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@
### Load_Wikipedia Node
1. Can return all content related to the question in Wikipedia.

### Load_Persona Node
1. Can return a preset persona persona, which can be used as the system_prompt_input of the large model, allowing the large model to have the personality of the persona.
2. The persona folder contains the persona of the image prompt assistant and DAN. You can add more personas to this folder for your use.

## Persona

### Classifier persona and Super Large Classifier persona Nodes
Expand All @@ -59,6 +55,10 @@
1. prompt is the system_prompt_input that will be input into the LLM node, which can contain some variables, such as: "You are an intelligent customer service about {app}, you need to generate content related to {text}", where {text} will automatically be filled with the user_prompt received by LLM.
2. prompt_template contains the corresponding rules for the variables in the prompt, generally in json format, which can be filled in as follows: {"app":"chatgpt"}, at this time, {app} in the prompt will be automatically replaced with chatgpt.

### Load_Persona Node
1. Can return a preset persona persona, which can be used as the system_prompt_input of the large model, allowing the large model to have the personality of the persona.
2. The persona folder contains the persona of the image prompt assistant and DAN. You can add more personas to this folder for your use.

## Functions

### Classifier Function and Super Large Classifier Function Nodes
Expand Down
8 changes: 4 additions & 4 deletions how_to_use_nodes_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@
### 加载维基百科
1. 可以返回维基百科中与问题相关的所有内容

### 加载人格面具
1. 可以返回一个预设的人格面具,该面具可以作为大模型的system_prompt_input,让大模型拥有人格面具的个性。
2. persona文件夹包含了图片提示词助手的人格面具和DAN的人格面具。你可以在这个文件夹中添加更多的面具,以供你使用。

## 人格面具

### 分类器面具和超大分类器面具节点
Expand All @@ -60,6 +56,10 @@
1. prompt是将要输入到LLM节点中的system_prompt_input,可以包含一些变量,例如:“你是一个关于{app}的智能客服,你需要生成{text}相关的内容”,其中{text}会自动填充为LLM接收的user_prompt。
2. prompt_template包含了prompt中变量的对应规则,一般为json格式,可以以如下格式填入:{"app":"chatgpt"},此时,prompt中{app}将会被自动替换为chatgpt。

### 加载人格面具
1. 可以返回一个预设的人格面具,该面具可以作为大模型的system_prompt_input,让大模型拥有人格面具的个性。
2. persona文件夹包含了图片提示词助手的人格面具和DAN的人格面具。你可以在这个文件夹中添加更多的面具,以供你使用。

## 函数

### 分类器函数和超大分类器函数节点
Expand Down

0 comments on commit 9454edc

Please sign in to comment.