Update .gitignore and configuration for model adjustments; refine query classification prompt
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -178,3 +178,6 @@ cython_debug/
|
||||
|
||||
# Gradio
|
||||
.gradio/
|
||||
|
||||
# chat
|
||||
chat.json
|
||||
|
||||
@@ -40,7 +40,7 @@ api:
|
||||
|
||||
agents:
|
||||
strategy: Conservative
|
||||
team_model: qwen3:1.7b
|
||||
team_model: qwen3:8b
|
||||
team_leader_model: qwen3:8b
|
||||
query_analyzer_model: qwen3:4b
|
||||
report_generation_model: qwen3:8b
|
||||
query_analyzer_model: qwen3:8b # query check
|
||||
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.
|
||||
|
||||
**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
|
||||
|
||||
**CLASSIFICATION RULES:**
|
||||
@@ -22,16 +22,9 @@
|
||||
- Data requests without specifying which asset: "What's the price?", "Show me the volume"
|
||||
- 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:**
|
||||
- `IS_CRYPTO`: `response_message` = `""`
|
||||
|
||||
Reference in New Issue
Block a user