Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -395,20 +395,30 @@ def rag_pdf_ui(question: str, history: list) -> tuple:
|
|
| 395 |
return response_text, file_paths
|
| 396 |
|
| 397 |
# ── Text ───────────────────────────────────────────────────────────────────────
|
| 398 |
-
Title = "#
|
| 399 |
|
| 400 |
Description = """
|
| 401 |
-
## Welcome to the Search Engine
|
|
|
|
| 402 |
|
| 403 |
-
|
| 404 |
|
| 405 |
-
|
| 406 |
-
* Includes latest Model TS as on date.
|
| 407 |
|
| 408 |
-
**
|
| 409 |
-
*
|
| 410 |
-
*
|
| 411 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 412 |
"""
|
| 413 |
|
| 414 |
# ── Layout ─────────────────────────────────────────────────────────────────────
|
|
|
|
| 395 |
return response_text, file_paths
|
| 396 |
|
| 397 |
# ── Text ───────────────────────────────────────────────────────────────────────
|
| 398 |
+
Title = "# PG-ATLAS - POWERGRID - AI Technical Library & Assistance System"
|
| 399 |
|
| 400 |
Description = """
|
| 401 |
+
## Welcome to the AI-Powered Search Engine
|
| 402 |
+
### Model Technical Specifications | Engineering — Substation Department
|
| 403 |
|
| 404 |
+
---
|
| 405 |
|
| 406 |
+
This intelligent assistant leverages **Large Language Model (LLM)** technology to provide precise, context-aware answers directly from POWERGRID's official documentation.
|
|
|
|
| 407 |
|
| 408 |
+
**Document Coverage:**
|
| 409 |
+
* 📑 Model Technical Specifications — Engineering (Substation) Department, POWERGRID
|
| 410 |
+
* ⚡ Applicable to AIS/GIS Substations up to **765kV**
|
| 411 |
+
* 🔄 Updated to the latest revision as on 03-May-2026.
|
| 412 |
+
|
| 413 |
+
---
|
| 414 |
+
|
| 415 |
+
**Guidelines for Effective Use:**
|
| 416 |
+
* Frame queries with **specific equipment names** and **voltage class** (e.g., *765kV GIS Circuit Breaker*, *400kV Surge Arrester*, *220kV Isolator*)
|
| 417 |
+
* Include **clause keywords** for targeted retrieval (e.g., *type test*, *insulation level*, *earthing*, *interpole cabling*)
|
| 418 |
+
* For comparative queries, specify the parameter of interest (e.g., *rated current*, *BIL*, *SF₆ gas pressure*)
|
| 419 |
+
* Clear the chat session if responses appear off-context or drift from the query intent
|
| 420 |
+
|
| 421 |
+
> ⚠️ *Responses are strictly based on the provided documentation. Always verify critical design parameters against the original Model TS before application.*
|
| 422 |
"""
|
| 423 |
|
| 424 |
# ── Layout ─────────────────────────────────────────────────────────────────────
|