mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-30 19:03:01 +01:00
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:
parent
d74f8e03d3
commit
9fe1c8ae13
1 changed files with 2 additions and 2 deletions
|
@ -123,9 +123,9 @@ def filter_questions(questions: List[str]):
|
||||||
|
|
||||||
|
|
||||||
def converse_offline(
|
def converse_offline(
|
||||||
references,
|
|
||||||
online_results,
|
|
||||||
user_query,
|
user_query,
|
||||||
|
references=[],
|
||||||
|
online_results=[],
|
||||||
conversation_log={},
|
conversation_log={},
|
||||||
model: str = "mistral-7b-instruct-v0.1.Q4_0.gguf",
|
model: str = "mistral-7b-instruct-v0.1.Q4_0.gguf",
|
||||||
loaded_model: Union[Any, None] = None,
|
loaded_model: Union[Any, None] = None,
|
||||||
|
|
Loading…
Reference in a new issue