mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-30 10:53:02 +01:00
Update the default configuration for the AppConfig
This commit is contained in:
parent
ca87b4ede9
commit
f688529150
2 changed files with 3 additions and 3 deletions
|
@ -99,14 +99,14 @@ class ProcessorConfig(ConfigBase):
|
||||||
|
|
||||||
|
|
||||||
class AppConfig(ConfigBase):
|
class AppConfig(ConfigBase):
|
||||||
should_log_telemetry: bool
|
should_log_telemetry: bool = True
|
||||||
|
|
||||||
|
|
||||||
class FullConfig(ConfigBase):
|
class FullConfig(ConfigBase):
|
||||||
content_type: Optional[ContentConfig] = None
|
content_type: Optional[ContentConfig] = None
|
||||||
search_type: Optional[SearchConfig] = None
|
search_type: Optional[SearchConfig] = None
|
||||||
processor: Optional[ProcessorConfig] = None
|
processor: Optional[ProcessorConfig] = None
|
||||||
app: Optional[AppConfig] = AppConfig(should_log_telemetry=True)
|
app: Optional[AppConfig] = AppConfig()
|
||||||
version: Optional[str] = None
|
version: Optional[str] = None
|
||||||
|
|
||||||
|
|
||||||
|
|
2
tests/data/config.yml
vendored
2
tests/data/config.yml
vendored
|
@ -14,4 +14,4 @@ search-type:
|
||||||
asymmetric:
|
asymmetric:
|
||||||
cross-encoder: cross-encoder/ms-marco-MiniLM-L-6-v2
|
cross-encoder: cross-encoder/ms-marco-MiniLM-L-6-v2
|
||||||
encoder: sentence-transformers/msmarco-MiniLM-L-6-v3
|
encoder: sentence-transformers/msmarco-MiniLM-L-6-v3
|
||||||
version: 0.14.0
|
version: 0.15.0
|
||||||
|
|
Loading…
Reference in a new issue