Better Prompt #45
3
.gitignore
vendored
3
.gitignore
vendored
@@ -178,3 +178,6 @@ cython_debug/
|
|||||||
|
|
||||||
# Gradio
|
# Gradio
|
||||||
.gradio/
|
.gradio/
|
||||||
|
|
||||||
|
# chat
|
||||||
|
chat.json
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ api:
|
|||||||
|
|
||||||
agents:
|
agents:
|
||||||
strategy: Conservative
|
strategy: Conservative
|
||||||
team_model: qwen3:1.7b
|
team_model: qwen3:8b
|
||||||
team_leader_model: qwen3:8b
|
team_leader_model: qwen3:8b
|
||||||
query_analyzer_model: qwen3:4b
|
query_analyzer_model: qwen3:8b # query check
|
||||||
report_generation_model: qwen3:8b
|
report_generation_model: qwen3:8b # ex predictor
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
**CONTEXT:** Current date is {{CURRENT_DATE}}. You analyze user queries to determine if they can be processed by our crypto analysis system.
|
**CONTEXT:** Current date is {{CURRENT_DATE}}. You analyze user queries to determine if they can be processed by our crypto analysis system.
|
||||||
|
|
||||||
**CORE PRINCIPLE:** This is a **crypto-only application**. Resolve ambiguity in favor of cryptocurrency.
|
**CORE PRINCIPLE:** This is a **crypto-only application**. Resolve ambiguity in favor of cryptocurrency.
|
||||||
- Generic financial queries ("analyze the market", "give me a portfolio") → classify as crypto
|
- Generic financial queries ("analyze the market", "give me a portfolio") will be classified as crypto
|
||||||
- Only reject queries that *explicitly* mention non-crypto assets
|
- Only reject queries that *explicitly* mention non-crypto assets
|
||||||
|
|
||||||
**CLASSIFICATION RULES:**
|
**CLASSIFICATION RULES:**
|
||||||
@@ -22,16 +22,9 @@
|
|||||||
- Data requests without specifying which asset: "What's the price?", "Show me the volume"
|
- Data requests without specifying which asset: "What's the price?", "Show me the volume"
|
||||||
- Examples: "What are the trends?", "Tell me the market cap"
|
- Examples: "What are the trends?", "Tell me the market cap"
|
||||||
|
|
||||||
**OUTPUT:** Respond with ONLY a valid JSON object (no markdown, no extra text):
|
**OUTPUT:** no markdown, no extra text
|
||||||
|
|
||||||
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"status": "IS_CRYPTO | NOT_CRYPTO | AMBIGUOUS",
|
|
||||||
"language": "en|it|es|...",
|
|
||||||
"reasoning": "Brief classification reason",
|
|
||||||
"response_message": "User message (empty for IS_CRYPTO)"
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
**RESPONSE MESSAGES:**
|
**RESPONSE MESSAGES:**
|
||||||
- `IS_CRYPTO`: `response_message` = `""`
|
- `IS_CRYPTO`: `response_message` = `""`
|
||||||
|
|||||||
Reference in New Issue
Block a user