Soumik555 commited on
Commit
815c6dd
·
1 Parent(s): acbc65f

changed prompt

Browse files
Files changed (1) hide show
  1. together_ai_llama_agent.py +2 -6
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
- - Include necessary imports (except pandas) and include complete code
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