Update nand.py
Browse files
nand.py
CHANGED
@@ -134,6 +134,13 @@ def process_query(iniquery, para):
|
|
134 |
cont = re.sub('<.*?>', '', cont)
|
135 |
cont = re.sub('Examples:.*', '', cont, flags=re.DOTALL)
|
136 |
context += cont
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
context += ret
|
138 |
prompt = f"{context}\n"
|
139 |
prompt += "------------------------------------------\n"
|
|
|
134 |
cont = re.sub('<.*?>', '', cont)
|
135 |
cont = re.sub('Examples:.*', '', cont, flags=re.DOTALL)
|
136 |
context += cont
|
137 |
+
else:
|
138 |
+
context += "GOF is abreviation of Gats On the Fly, it is netlist process platform.\n";
|
139 |
+
context += "ECO is abbrevation of engineering change order.\n";
|
140 |
+
context += "LEC is abbrevation of logic equivalence checking.\n";
|
141 |
+
context += "Netlist ECO is to change netlist incrementally by tool or manually.\n";
|
142 |
+
context += "Automatic ECO is to use GOF ECO to do functional netlist ECO automatically.\n";
|
143 |
+
|
144 |
context += ret
|
145 |
prompt = f"{context}\n"
|
146 |
prompt += "------------------------------------------\n"
|