Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -129,7 +129,7 @@ if st.session_state.df is not None:
|
|
129 |
|
130 |
report_writer = Agent(
|
131 |
role="Technical Report Writer",
|
132 |
-
goal="Write a structured report with Key Insights and Analysis. DO NOT include Conclusion or Summary.",
|
133 |
backstory="Specializes in detailed analytical reports without conclusions.",
|
134 |
llm=llm,
|
135 |
)
|
@@ -156,15 +156,16 @@ if st.session_state.df is not None:
|
|
156 |
)
|
157 |
|
158 |
write_report = Task(
|
159 |
-
description="Write the analysis report with Key Insights. DO NOT include
|
160 |
expected_output="Markdown-formatted report excluding Conclusion.",
|
161 |
agent=report_writer,
|
162 |
context=[analyze_data],
|
163 |
)
|
164 |
|
165 |
write_conclusion = Task(
|
166 |
-
description="Write a brief and impactful 3-5 line Conclusion summarizing only the most important insights."
|
167 |
-
|
|
|
168 |
agent=conclusion_writer,
|
169 |
context=[analyze_data],
|
170 |
)
|
|
|
129 |
|
130 |
report_writer = Agent(
|
131 |
role="Technical Report Writer",
|
132 |
+
goal="Write a structured report with Introduction, Key Insights, and Analysis. DO NOT include any Conclusion or Summary.",
|
133 |
backstory="Specializes in detailed analytical reports without conclusions.",
|
134 |
llm=llm,
|
135 |
)
|
|
|
156 |
)
|
157 |
|
158 |
write_report = Task(
|
159 |
+
description="Write the analysis report with Introduction, Key Insights, and Analysis. DO NOT include any Conclusion or Summary.",
|
160 |
expected_output="Markdown-formatted report excluding Conclusion.",
|
161 |
agent=report_writer,
|
162 |
context=[analyze_data],
|
163 |
)
|
164 |
|
165 |
write_conclusion = Task(
|
166 |
+
description="Write a brief and impactful 3-5 line Conclusion summarizing only the most important insights/findings. Include the max, min, and average salary"
|
167 |
+
"and highlight the most impactful insights.",
|
168 |
+
expected_output="Markdown-formatted Conclusion/Summary section with key insights and statistics.",
|
169 |
agent=conclusion_writer,
|
170 |
context=[analyze_data],
|
171 |
)
|