Spaces:
Runtime error
Runtime error
Update app.py
Browse filesAdd more examples
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
|
91 |
-
"
|
92 |
-
"
|
93 |
-
"
|
94 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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):
|