提示词优化4

v_0.0.2
daixiaoyi 1 week ago
parent 3d4b74d1c6
commit 06aab1d9aa

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

Loading…
Cancel
Save