Fix parsing questions generated by extract_questions actor into list

The previous json parsing was failing to handle questions with date
filters

Fix the chat actor tests to run without throwing error with freezegun
complaining about importing transformers.local_llama model

Remove quote escapes from date filter examples provided to
extract_questions actor
This commit is contained in:
Debanjum Singh Solanky
2023-07-07 15:18:55 -07:00
parent 279662620b
commit 48870d9170
3 changed files with 9 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ from datetime import datetime
# External Packages
import pytest
import freezegun
from freezegun import freeze_time
# Internal Packages
@@ -19,6 +20,8 @@ if api_key is None:
allow_module_level=True,
)
freezegun.configure(extend_ignore_list=["transformers"])
# Test
# ----------------------------------------------------------------------------------------------------