Spaces:
Sleeping
Sleeping
Chore: Restore project name to ContextPrune across all configs
Browse files
README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
#
|
| 2 |
|
| 3 |
A reinforcement learning environment for context optimization tasks including artifact inspection, prioritization, and summarization. This project simulates an operational workflow for handling structured data artifacts within token budgets.
|
| 4 |
|
|
@@ -67,4 +67,4 @@ The agent interacts with the environment using the following actions:
|
|
| 67 |
python validate.py
|
| 68 |
```
|
| 69 |
|
| 70 |
-
Built for the Meta x Scaler Hackathon 2026.
|
|
|
|
| 1 |
+
# ContextPrune
|
| 2 |
|
| 3 |
A reinforcement learning environment for context optimization tasks including artifact inspection, prioritization, and summarization. This project simulates an operational workflow for handling structured data artifacts within token budgets.
|
| 4 |
|
|
|
|
| 67 |
python validate.py
|
| 68 |
```
|
| 69 |
|
| 70 |
+
Built for the Meta x Scaler Hackathon 2026.
|
app.py
CHANGED
|
@@ -87,7 +87,7 @@ async def lifespan(app: FastAPI):
|
|
| 87 |
|
| 88 |
|
| 89 |
app = FastAPI(
|
| 90 |
-
title="
|
| 91 |
version="1.0.0",
|
| 92 |
description="RAG pipeline optimization environment - minimize tokens, maximize answer quality",
|
| 93 |
lifespan=lifespan,
|
|
|
|
| 87 |
|
| 88 |
|
| 89 |
app = FastAPI(
|
| 90 |
+
title="ContextPrune",
|
| 91 |
version="1.0.0",
|
| 92 |
description="RAG pipeline optimization environment - minimize tokens, maximize answer quality",
|
| 93 |
lifespan=lifespan,
|
app_ui.py
CHANGED
|
@@ -129,7 +129,7 @@ body { background-color: #0f172a; color: white; }
|
|
| 129 |
#title { text-align: center; font-size: 2.5em; margin-bottom: 20px; color: #38bdf8; }
|
| 130 |
"""
|
| 131 |
|
| 132 |
-
with gr.Blocks(title="ContextPrune
|
| 133 |
gr.Markdown("# 🧠 ContextPrune AI: Quota-Resilient Context Compression", elem_id="title")
|
| 134 |
|
| 135 |
with gr.Tabs():
|
|
|
|
| 129 |
#title { text-align: center; font-size: 2.5em; margin-bottom: 20px; color: #38bdf8; }
|
| 130 |
"""
|
| 131 |
|
| 132 |
+
with gr.Blocks(title="ContextPrune") as demo:
|
| 133 |
gr.Markdown("# 🧠 ContextPrune AI: Quota-Resilient Context Compression", elem_id="title")
|
| 134 |
|
| 135 |
with gr.Tabs():
|
openenv.yaml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
name:
|
| 2 |
version: "1.0.0"
|
| 3 |
description: "Enterprise incident operations environment - inspect evidence, plan safe resolutions, and submit grounded escalation reports"
|
| 4 |
tasks:
|
|
|
|
| 1 |
+
name: contextprune
|
| 2 |
version: "1.0.0"
|
| 3 |
description: "Enterprise incident operations environment - inspect evidence, plan safe resolutions, and submit grounded escalation reports"
|
| 4 |
tasks:
|