Soumik555 commited on
Commit
2ccbdb1
·
1 Parent(s): a9c6d67
gemini_langchain_agent.py CHANGED
@@ -58,6 +58,7 @@ def _prompt_generator(question: str, chart_required: bool):
58
  - Figure size: (12, 6)
59
  - Descriptive titles (fontsize=14)
60
  - Colorblind-friendly palettes
 
61
  3. File handling rules:
62
  - Create MAXIMUM 2 charts if absolutely necessary
63
  - For multiple charts:
 
58
  - Figure size: (12, 6)
59
  - Descriptive titles (fontsize=14)
60
  - Colorblind-friendly palettes
61
+ - Do not use any visualization library other than matplotlib or seaborn
62
  3. File handling rules:
63
  - Create MAXIMUM 2 charts if absolutely necessary
64
  - For multiple charts:
groq_chart.py CHANGED
@@ -32,6 +32,7 @@ instructions = """
32
  - For multiple charts, arrange them in a grid format (2x2, 3x3, etc.)
33
  - Use colorblind-friendly palette
34
  - Read above instructions and follow them.
 
35
 
36
  """
37
 
 
32
  - For multiple charts, arrange them in a grid format (2x2, 3x3, etc.)
33
  - Use colorblind-friendly palette
34
  - Read above instructions and follow them.
35
+ - Please do not use any visualization library other than matplotlib or seaborn.
36
 
37
  """
38
 
openai_pandasai_service.py CHANGED
@@ -23,6 +23,7 @@ instructions = """
23
  - For multiple charts, arrange them in a grid format (2x2, 3x3, etc.)
24
  - Use professional and color-blind friendly palettes.
25
  - Do not use sns.set_palette()
 
26
  - Read above instructions and follow them.
27
  """
28
 
 
23
  - For multiple charts, arrange them in a grid format (2x2, 3x3, etc.)
24
  - Use professional and color-blind friendly palettes.
25
  - Do not use sns.set_palette()
26
+ - Do not use any visualization library other than matplotlib or seaborn
27
  - Read above instructions and follow them.
28
  """
29
 
util_service.py CHANGED
@@ -43,6 +43,7 @@ def _prompt_generator(question: str, chart_required: bool):
43
  - Figure size: (12, 6)
44
  - Descriptive titles (fontsize=14)
45
  - Colorblind-friendly palettes
 
46
  3. File handling rules:
47
  - Create MAXIMUM 2 charts if absolutely necessary
48
  - For multiple charts:
 
43
  - Figure size: (12, 6)
44
  - Descriptive titles (fontsize=14)
45
  - Colorblind-friendly palettes
46
+ - Do not use any visualization library other than matplotlib or seaborn
47
  3. File handling rules:
48
  - Create MAXIMUM 2 charts if absolutely necessary
49
  - For multiple charts: