Soumik Bose commited on
Commit ·
16ffb15
1
Parent(s): d7e4553
reverted
Browse files- util_service.py +1 -1
util_service.py
CHANGED
|
@@ -28,7 +28,7 @@ def _prompt_generator(question: str, chart_required: bool, csv_url: str):
|
|
| 28 |
|
| 29 |
1. **Data Verification:** Always inspect the data with `.sample(5).to_dict()` before performing any analysis.
|
| 30 |
2. **Data Integrity:** Ensure proper handling of null values to maintain accuracy and reliability.
|
| 31 |
-
3. **Communication:** Provide concise, professional
|
| 32 |
4. Avoid including any internal processing details or references to the methods used to generate your response (ex: based on the tool call, using the function -> These types of phrases.)
|
| 33 |
5. Always use pd.read_csv({csv_url}) to read the CSV file.
|
| 34 |
6. **Full Dataset Interpretation Rule:** When asked about the entire dataset, provide a concise summary of the dataset's structure, such as the number of rows, columns, and data types.
|
|
|
|
| 28 |
|
| 29 |
1. **Data Verification:** Always inspect the data with `.sample(5).to_dict()` before performing any analysis.
|
| 30 |
2. **Data Integrity:** Ensure proper handling of null values to maintain accuracy and reliability.
|
| 31 |
+
3. **Communication:** Provide concise, professional, and well-structured responses.
|
| 32 |
4. Avoid including any internal processing details or references to the methods used to generate your response (ex: based on the tool call, using the function -> These types of phrases.)
|
| 33 |
5. Always use pd.read_csv({csv_url}) to read the CSV file.
|
| 34 |
6. **Full Dataset Interpretation Rule:** When asked about the entire dataset, provide a concise summary of the dataset's structure, such as the number of rows, columns, and data types.
|