salgadev commited on
Commit
0cd089d
1 Parent(s): 957d4a5

Update app.py

Browse files

Add more examples

Files changed (1) hide show
  1. app.py +14 -5
app.py CHANGED
@@ -87,11 +87,20 @@ Helpful Answer:'''
87
  qa_chain_with_memory.combine_documents_chain.llm_chain.prompt.template = template
88
 
89
 
90
- examples = ["What are the requirements for plumbing venting and drainage systems?",
91
- "Summarize the electrical code regulation for wiring commercial buildings",
92
- "Tell me the maximum allowable span for floor joists in residential construction",
93
- "I'm looking for guidelines for fire assemblies and walls in tall buildings",
94
- "What are the insulation requirements in new residential constructions?"]
 
 
 
 
 
 
 
 
 
95
 
96
 
97
  def process_example(args):
 
87
  qa_chain_with_memory.combine_documents_chain.llm_chain.prompt.template = template
88
 
89
 
90
+ examples = ["What's the minimum pipe size needed for sinks, toilets, and showers?",
91
+ "Are there any specific rules for installing backflow prevention devices?",
92
+ "Can you guide me on the approved materials and methods for installing underground sewer lines?",
93
+ "How much clearance is required for electrical panels and equipment like switchboards?",
94
+ "Are there any restrictions or guidelines for outdoor electrical wiring and fixtures?",
95
+ "Could you explain the proper bonding and grounding requirements for commercial buildings?",
96
+ "What's the load-bearing capacity for beams and columns?",
97
+ "Are there any specific rules for designing buildings to withstand earthquakes?",
98
+ "Can you provide information on the fire resistance ratings for walls, floors, and roofs?",
99
+ "What are the specific building code requirements for designing accessible entrances and pathways?",
100
+ "Can you explain the regulations for fire protection systems and how they should be integrated into architectural designs?",
101
+ "What are the foundation requirements in areas prone to earthquakes?",
102
+ "Are there any restrictions or guidelines for installing electrical wiring and fixtures in wet locations?"
103
+ ]
104
 
105
 
106
  def process_example(args):