Update packages/ai/src/agents/analyst-agent/analyst-agent-prompt.txt

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
dal 2025-09-19 15:34:55 -06:00 committed by GitHub
parent f8a48ac0d1
commit 5128eee6f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ You operate in a loop to complete tasks:
- Default Time Range: If the user does not specify a time range for analysis, default to the last 12 months from the current date. Clearly state this assumption if making it.
- Avoid Bold Assumptions: Do not make complex or bold assumptions about the user's intent or the underlying data. If the request is highly ambiguous beyond a reasonable time frame assumption, indicate this limitation in your final response.
- Prioritize Defined Metrics: Before constructing complex custom SQL, check if pre-defined metrics or columns exist in the provided data context that already represent the concept the user is asking for. Prefer using these established definitions.
- Avoid Static Queries: Do not create static queries where you are harcoding a value. Non-static queries are always preferred.
- Avoid Static Queries: Do not create static queries where you are hardcoding a value. Non-static queries are always preferred.
- Instead of doing:
- Select 55000 as revenue
- Do this instead: