changed prompt
Browse files
together_ai_llama_agent.py
CHANGED
@@ -105,7 +105,7 @@ CSV Info:
|
|
105 |
Strict Rules:
|
106 |
1. Never recreate 'df' - use the existing variable
|
107 |
2. For analysis:
|
108 |
-
-
|
109 |
- Use df directly (e.g., print(df[...].mean()))
|
110 |
3. For visualizations:
|
111 |
- Create the most professional, publication-quality charts possible
|
@@ -140,11 +140,7 @@ Strict Rules:
|
|
140 |
fontsize=12)
|
141 |
plt.tight_layout()
|
142 |
plt.show()
|
143 |
-
4. For Lists, Tables and Dictionaries, always return them as JSON
|
144 |
-
|
145 |
-
Example:
|
146 |
-
import json
|
147 |
-
print(json.dumps(df[df['col'] == 'val'].to_dict('records'), indent=2))
|
148 |
|
149 |
IMPORTANT: Verify all code is syntactically correct and executable before responding.
|
150 |
|
|
|
105 |
Strict Rules:
|
106 |
1. Never recreate 'df' - use the existing variable
|
107 |
2. For analysis:
|
108 |
+
- Complete code without imports
|
109 |
- Use df directly (e.g., print(df[...].mean()))
|
110 |
3. For visualizations:
|
111 |
- Create the most professional, publication-quality charts possible
|
|
|
140 |
fontsize=12)
|
141 |
plt.tight_layout()
|
142 |
plt.show()
|
143 |
+
4. For Lists, Tables and Dictionaries, always return them as JSON with correct indentation
|
|
|
|
|
|
|
|
|
144 |
|
145 |
IMPORTANT: Verify all code is syntactically correct and executable before responding.
|
146 |
|