Spaces:
Runtime error
Runtime error
ai-puppy
commited on
Commit
Β·
52c3a29
1
Parent(s):
230ff5f
Update app.py
Browse files
app.py
CHANGED
|
@@ -261,12 +261,24 @@ with gr.Blocks(title="DataForge - AI CodeAct Agent") as demo:
|
|
| 261 |
)
|
| 262 |
|
| 263 |
gr.Markdown("---")
|
| 264 |
-
gr.Markdown("## π‘ **
|
| 265 |
gr.Markdown("""
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 270 |
""")
|
| 271 |
|
| 272 |
if __name__ == "__main__":
|
|
|
|
| 261 |
)
|
| 262 |
|
| 263 |
gr.Markdown("---")
|
| 264 |
+
gr.Markdown("## π‘ **Real CodeAct Use Cases - When LLMs Fail, Code Succeeds**")
|
| 265 |
gr.Markdown("""
|
| 266 |
+
**π₯ Real Problem:** You have a 500MB server log file and want to ask: *"Which IP addresses made the most requests yesterday?"*
|
| 267 |
+
|
| 268 |
+
β **Traditional LLM:** "File too large, please upload smaller chunks"
|
| 269 |
+
β
**DataForge CodeAct:** AI writes Python code with regex + Counter to process entire file β Gets exact answer
|
| 270 |
+
|
| 271 |
+
**π₯ Real Problem:** You have a 2GB CSV with sales data and ask: *"How many orders were placed in each month of 2024?"*
|
| 272 |
+
|
| 273 |
+
β **Traditional LLM:** Crashes on upload or hits token limits
|
| 274 |
+
β
**DataForge CodeAct:** AI writes pandas code to parse dates and count by month β Simple monthly breakdown
|
| 275 |
+
|
| 276 |
+
**π₯ Real Problem:** You have 1GB of JSON API logs and ask: *"Find all 500 errors and group them by endpoint and time of day"*
|
| 277 |
+
|
| 278 |
+
β **Traditional LLM:** "Cannot process this much data"
|
| 279 |
+
β
**DataForge CodeAct:** AI writes JSON parsing + datetime analysis code β Complete error breakdown
|
| 280 |
+
|
| 281 |
+
**π― The Key:** Instead of sending your data to an LLM, the LLM writes code that processes your data locally!
|
| 282 |
""")
|
| 283 |
|
| 284 |
if __name__ == "__main__":
|