mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-07 21:29:13 +00: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:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user