mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Add requisite imports in order to instantiate offline model in adapters file
This commit is contained in:
parent
fee99779bf
commit
a9623ef85a
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,6 @@ from datetime import date, datetime
|
||||||
import secrets
|
import secrets
|
||||||
from typing import Type, List
|
from typing import Type, List
|
||||||
from datetime import date, timezone
|
from datetime import date, timezone
|
||||||
import random
|
|
||||||
|
|
||||||
from django.db import models
|
from django.db import models
|
||||||
from django.contrib.sessions.backends.db import SessionStore
|
from django.contrib.sessions.backends.db import SessionStore
|
||||||
|
@ -35,6 +34,8 @@ from database.models import (
|
||||||
OfflineChatProcessorConversationConfig,
|
OfflineChatProcessorConversationConfig,
|
||||||
)
|
)
|
||||||
from khoj.utils.helpers import generate_random_name
|
from khoj.utils.helpers import generate_random_name
|
||||||
|
from khoj.utils import state
|
||||||
|
from khoj.utils.config import GPT4AllProcessorModel
|
||||||
from khoj.search_filter.word_filter import WordFilter
|
from khoj.search_filter.word_filter import WordFilter
|
||||||
from khoj.search_filter.file_filter import FileFilter
|
from khoj.search_filter.file_filter import FileFilter
|
||||||
from khoj.search_filter.date_filter import DateFilter
|
from khoj.search_filter.date_filter import DateFilter
|
||||||
|
|
Loading…
Reference in a new issue