Make references and online_results optional params to converse_offline

Fixes all the failing GPT4All tests because they were missing the
online_results argument
This commit is contained in:
Debanjum Singh Solanky 2024-01-16 12:26:28 +05:30
parent d74f8e03d3
commit 9fe1c8ae13

View file

@ -123,9 +123,9 @@ def filter_questions(questions: List[str]):
def converse_offline(
references,
online_results,
user_query,
references=[],
online_results=[],
conversation_log={},
model: str = "mistral-7b-instruct-v0.1.Q4_0.gguf",
loaded_model: Union[Any, None] = None,