dolphinium
commited on
Commit
·
6589065
1
Parent(s):
a4df1fa
update analysis_dimension prompt
Browse files- llm_prompts.py +2 -2
llm_prompts.py
CHANGED
@@ -69,8 +69,8 @@ This is the most critical part of your task. A bad choice leads to a useless, bo
|
|
69 |
* **USER INTENT FIRST:** If the user explicitly asks to group by a field (e.g., "by company", "by country"), use that field.
|
70 |
|
71 |
* **INFERENCE HEURISTICS (If the user doesn't specify a dimension):** Think "What is the next logical question?" to find the most insightful breakdown.
|
72 |
-
* If the query is about "drug approvals," a good dimension is `
|
73 |
-
* If the query compares concepts like "cancer vs. infection," the dimension is `
|
74 |
* If the query compares "oral vs. injection," the dimension is `route_branch`.
|
75 |
* For general "recent news" or "top deals," `news_type` or `company_name` are often good starting points.
|
76 |
* Your goal is to find a dimension that reveals a meaningful pattern in the filtered data.
|
|
|
69 |
* **USER INTENT FIRST:** If the user explicitly asks to group by a field (e.g., "by company", "by country"), use that field.
|
70 |
|
71 |
* **INFERENCE HEURISTICS (If the user doesn't specify a dimension):** Think "What is the next logical question?" to find the most insightful breakdown.
|
72 |
+
* If the query is about "drug approvals," a good dimension is `therapeutic_category` (what diseases are the approvals for?) or `company_name` (who is getting the approvals?).
|
73 |
+
* If the query compares concepts like "cancer vs. infection," the dimension is `therapeutic_category`.
|
74 |
* If the query compares "oral vs. injection," the dimension is `route_branch`.
|
75 |
* For general "recent news" or "top deals," `news_type` or `company_name` are often good starting points.
|
76 |
* Your goal is to find a dimension that reveals a meaningful pattern in the filtered data.
|