mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Update default chat model to Mistral in GPT4AllProcessor config
This commit is contained in:
parent
4636390f7f
commit
cc9eae5d18
2 changed files with 3 additions and 2 deletions
|
@ -80,7 +80,7 @@ class GPT4AllProcessorConfig:
|
|||
class GPT4AllProcessorModel:
|
||||
def __init__(
|
||||
self,
|
||||
chat_model: str = "llama-2-7b-chat.ggmlv3.q4_0.bin",
|
||||
chat_model: str = "mistral-7b-instruct-v0.1.Q4_0.gguf",
|
||||
):
|
||||
self.chat_model = chat_model
|
||||
self.loaded_model = None
|
||||
|
|
|
@ -7,6 +7,7 @@ from collections import defaultdict
|
|||
# External Packages
|
||||
from pathlib import Path
|
||||
from khoj.processor.embeddings import CrossEncoderModel, EmbeddingsModel
|
||||
from whisper import Whisper
|
||||
|
||||
# Internal Packages
|
||||
from khoj.utils import config as utils_config
|
||||
|
@ -21,7 +22,7 @@ embeddings_model: EmbeddingsModel = None
|
|||
cross_encoder_model: CrossEncoderModel = None
|
||||
content_index = ContentIndex()
|
||||
gpt4all_processor_config: GPT4AllProcessorModel = None
|
||||
whisper_model = None
|
||||
whisper_model: Whisper = None
|
||||
config_file: Path = None
|
||||
verbose: int = 0
|
||||
host: str = None
|
||||
|
|
Loading…
Add table
Reference in a new issue