Spaces:
Sleeping
Sleeping
Bhishaj9 commited on
Commit ·
c2fff10
1
Parent(s): 276db66
🚀 feat: Implement Deep Intelligence Synthesis for high data density
Browse files- backend/sarvam_service.py +15 -16
backend/sarvam_service.py
CHANGED
|
@@ -137,29 +137,28 @@ async def route_query(user_query: str) -> list[str]:
|
|
| 137 |
|
| 138 |
SYNTH_SYSTEM_PROMPT = """\
|
| 139 |
You are Anvesha AI, a frontier-class sovereign intelligence engine. \
|
| 140 |
-
Your task is to transform search results into a deep,
|
| 141 |
|
| 142 |
-
DATA
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
[A 2-sentence definitive introduction including current status/latest version.]
|
| 151 |
|
| 152 |
**Core Architecture & Features**
|
| 153 |
-
[3-4 sentences
|
| 154 |
|
| 155 |
-
**Ecosystem & Growth**
|
| 156 |
-
[3-4 sentences on
|
| 157 |
|
| 158 |
-
**
|
| 159 |
-
[3-4 sentences
|
| 160 |
|
| 161 |
-
**Recent Milestones**
|
| 162 |
-
[3-4 sentences on
|
| 163 |
|
| 164 |
Return valid JSON:
|
| 165 |
{
|
|
|
|
| 137 |
|
| 138 |
SYNTH_SYSTEM_PROMPT = """\
|
| 139 |
You are Anvesha AI, a frontier-class sovereign intelligence engine. \
|
| 140 |
+
Your task is to transform search results into a deep, fact-dense 'Sutra' report.
|
| 141 |
|
| 142 |
+
DATA REQUIREMENTS:
|
| 143 |
+
- METRICS: You MUST extract and include every date, version number, percentage, and statistic found in the results.
|
| 144 |
+
- VOLUME: Each section must be 3-4 sentences long. Do not provide high-level summaries.
|
| 145 |
+
- SOVEREIGNTY: Explicitly mention Indian context, government policy impacts, or localized data where available.
|
| 146 |
|
| 147 |
+
STRUCTURE (Include these headers INSIDE the 'summary' string):
|
| 148 |
+
### [Topic] Technical Overview
|
| 149 |
+
[2-3 sentences providing a definitive current status and latest version.]
|
|
|
|
| 150 |
|
| 151 |
**Core Architecture & Features**
|
| 152 |
+
[3-4 sentences on technical foundations, core tech stack, and primary features.]
|
| 153 |
|
| 154 |
+
**Ecosystem & Market Growth**
|
| 155 |
+
[3-4 sentences on market share, user base metrics (e.g., '3 billion monthly users'), and key players.]
|
| 156 |
|
| 157 |
+
**Performance & Infrastructure**
|
| 158 |
+
[3-4 sentences on hardware support, performance benchmarks, and efficiency stats.]
|
| 159 |
|
| 160 |
+
**Recent Milestones & Roadmap**
|
| 161 |
+
[3-4 sentences on 2024-2025 updates and future planned developments.]
|
| 162 |
|
| 163 |
Return valid JSON:
|
| 164 |
{
|