Spaces:
Running
Running
Pulastya B
commited on
Commit
·
8405b58
1
Parent(s):
b7165a8
fix: Remove all remaining Sweetviz references
Browse files- Remove Sweetviz from README.md report support list
- Update artifact_store.py example to use ydata_profiling
- Update ChatInterface.tsx to only detect ydata_profiling reports
- Ensures agent never mentions Sweetviz in responses
This completes the full Sweetviz removal from the codebase
- FRRONTEEEND/components/ChatInterface.tsx +1 -1
- README.md +1 -1
- src/storage/artifact_store.py +1 -1
FRRONTEEEND/components/ChatInterface.tsx
CHANGED
|
@@ -120,7 +120,7 @@ export const ChatInterface: React.FC<{ onBack: () => void }> = ({ onBack }) => {
|
|
| 120 |
|
| 121 |
// Extract report paths from workflow history
|
| 122 |
if (result.workflow_history) {
|
| 123 |
-
const reportTools = ['generate_ydata_profiling_report'
|
| 124 |
result.workflow_history.forEach((step: any) => {
|
| 125 |
if (reportTools.includes(step.tool)) {
|
| 126 |
// Check multiple possible locations for the report path
|
|
|
|
| 120 |
|
| 121 |
// Extract report paths from workflow history
|
| 122 |
if (result.workflow_history) {
|
| 123 |
+
const reportTools = ['generate_ydata_profiling_report'];
|
| 124 |
result.workflow_history.forEach((step: any) => {
|
| 125 |
if (reportTools.includes(step.tool)) {
|
| 126 |
// Check multiple possible locations for the report path
|
README.md
CHANGED
|
@@ -926,7 +926,7 @@ Agent: [Applies CV to tuned model from context]
|
|
| 926 |
### Report Viewing
|
| 927 |
- Click "View Report" buttons to see HTML reports in-app
|
| 928 |
- Full-screen modal with professional styling
|
| 929 |
-
- Supports YData Profiling
|
| 930 |
|
| 931 |
---
|
| 932 |
|
|
|
|
| 926 |
### Report Viewing
|
| 927 |
- Click "View Report" buttons to see HTML reports in-app
|
| 928 |
- Full-screen modal with professional styling
|
| 929 |
+
- Supports YData Profiling and custom dashboards
|
| 930 |
|
| 931 |
---
|
| 932 |
|
src/storage/artifact_store.py
CHANGED
|
@@ -477,7 +477,7 @@ class ArtifactStore:
|
|
| 477 |
store = ArtifactStore()
|
| 478 |
path = store.save_report(
|
| 479 |
"eda_report.html",
|
| 480 |
-
metadata={"report_type": "
|
| 481 |
)
|
| 482 |
"""
|
| 483 |
return self.backend.save_file(local_path, "report", metadata)
|
|
|
|
| 477 |
store = ArtifactStore()
|
| 478 |
path = store.save_report(
|
| 479 |
"eda_report.html",
|
| 480 |
+
metadata={"report_type": "ydata_profiling", "dataset": "titanic"}
|
| 481 |
)
|
| 482 |
"""
|
| 483 |
return self.backend.save_file(local_path, "report", metadata)
|