Update README.md
Browse files
README.md
CHANGED
@@ -287,7 +287,7 @@ def parse_plan(plan):
|
|
287 |
if line.startswith("Plan:"):
|
288 |
print(line)
|
289 |
continue
|
290 |
-
parts = re.match("^(:evidence[0-9]+:
|
291 |
if not parts:
|
292 |
if line.startswith("Answer: "):
|
293 |
return context.get(line.split(" ")[-1].strip(), "Answer couldn't be generated...")
|
|
|
287 |
if line.startswith("Plan:"):
|
288 |
print(line)
|
289 |
continue
|
290 |
+
parts = re.match("^(:evidence[0-9]+:)\s*=\s*([^\[]+])(\[.*\])\s$", line, re.I)
|
291 |
if not parts:
|
292 |
if line.startswith("Answer: "):
|
293 |
return context.get(line.split(" ")[-1].strip(), "Answer couldn't be generated...")
|