abhivsh commited on
Commit
318ca85
·
verified ·
1 Parent(s): d42dc42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -9
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 = "# Engineering SS Model Technical Specifications"
399
 
400
  Description = """
401
- ## Welcome to the Search Engine for POWERGRID Model Technical Specifications! 👋
 
402
 
403
- This tool leverages the power of AI to answer queries based on:
404
 
405
- * **Model Technical Specifications** POWERGRID Engineering Department 📑
406
- * Includes latest Model TS as on date.
407
 
408
- **Tips for Effective Use:**
409
- * Use elaborate, keyword-rich questions for precise responses. 🎯
410
- * Include equipment names (e.g., *GIS*, *Circuit Breaker*, *Surge Arrester*). 🔌
411
- * Clear chat if responses seem off-context. 🔄
 
 
 
 
 
 
 
 
 
 
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 ─────────────────────────────────────────────────────────────────────