提示词优化4

v_0.0.2
daixiaoyi 2 weeks ago
parent 3d4b74d1c6
commit 06aab1d9aa

@ -540,29 +540,33 @@ public class PromptCache {
private static final String CLASSIFY_INDUSTRY_PROMPT = """ private static final String CLASSIFY_INDUSTRY_PROMPT = """
### ###
### ###
{text} ```text
{text}
```
###
{industryCategory}
###
### ```json
{industryCategory}
* **** ```
* ****
* ###
* JSON使```json ```Markdown
* ****
* ****
### *
{ * JSON使```json ```Markdown
industryCategory:
}/no_think
###
{
industryCategory:
}/no_think
"""; """;
private static final String CLASSIFY_INTENT_PROMPT = """ private static final String CLASSIFY_INTENT_PROMPT = """
@ -572,7 +576,9 @@ public class PromptCache {
## ##
```json
{IntentType} {IntentType}
```
## ##
1. 1.
@ -581,7 +587,9 @@ public class PromptCache {
4. JSON使```json ```Markdown 4. JSON使```json ```Markdown
## ##
```text
{text} {text}
```
## ##
// 示例1匹配多个意图 // 示例1匹配多个意图
@ -616,7 +624,9 @@ public class PromptCache {
4. 使...... 4. 使......
## ##
```text
{text} {text}
```
## ##
@ -646,6 +656,7 @@ public class PromptCache {
## ##
```text ```text
{text} {text}
```
## ##
```json ```json
@ -692,11 +703,14 @@ public class PromptCache {
JSON JSON
## ##
```text
{text} {text}
``` ```
- -
```json
{domainMetadata} {domainMetadata}
```
## ##
1. JSON使```json ```Markdown 1. JSON使```json ```Markdown
@ -758,7 +772,9 @@ public class PromptCache {
JSON JSON
## ##
```json
{intents} {intents}
```
## ##
1. 1.

Loading…
Cancel
Save