mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Fix formatting of khoj test config and unused references in conftests
This commit is contained in:
@@ -10,7 +10,7 @@ from khoj.main import app
|
|||||||
from khoj.configure import configure_processor, configure_routes, configure_search_types
|
from khoj.configure import configure_processor, configure_routes, configure_search_types
|
||||||
from khoj.processor.markdown.markdown_to_jsonl import MarkdownToJsonl
|
from khoj.processor.markdown.markdown_to_jsonl import MarkdownToJsonl
|
||||||
from khoj.search_type import image_search, text_search
|
from khoj.search_type import image_search, text_search
|
||||||
from khoj.utils.config import ImageContent, SearchModels, TextContent
|
from khoj.utils.config import SearchModels
|
||||||
from khoj.utils.helpers import resolve_absolute_path
|
from khoj.utils.helpers import resolve_absolute_path
|
||||||
from khoj.utils.rawconfig import (
|
from khoj.utils.rawconfig import (
|
||||||
ContentConfig,
|
ContentConfig,
|
||||||
|
|||||||
@@ -1,23 +1,27 @@
|
|||||||
content-type:
|
content-type:
|
||||||
org:
|
org:
|
||||||
input-files: [ "~/first_from_config.org", "~/second_from_config.org" ]
|
compressed-jsonl: .notes.json.gz
|
||||||
input-filter: ["*.org", "~/notes/*.org"]
|
embeddings-file: .note_embeddings.pt
|
||||||
compressed-jsonl: ".notes.json.gz"
|
|
||||||
embeddings-file: ".note_embeddings.pt"
|
|
||||||
index-header-entries: true
|
index-header-entries: true
|
||||||
|
input-files:
|
||||||
|
- ~/first_from_config.org
|
||||||
|
- ~/second_from_config.org
|
||||||
|
input-filter:
|
||||||
|
- '*.org'
|
||||||
|
- ~/notes/*.org
|
||||||
plugins:
|
plugins:
|
||||||
content_plugin_1:
|
content_plugin_1:
|
||||||
input-files: [ "content_plugin_1_new.jsonl.gz" ]
|
compressed-jsonl: content_plugin_1.jsonl.gz
|
||||||
compressed-jsonl: "content_plugin_1.jsonl.gz"
|
embeddings-file: content_plugin_1_embeddings.pt
|
||||||
embeddings-file: "content_plugin_1_embeddings.pt"
|
input-files:
|
||||||
|
- content_plugin_1_new.jsonl.gz
|
||||||
content_plugin_2:
|
content_plugin_2:
|
||||||
input-filter: [ "*2_new.jsonl.gz" ]
|
compressed-jsonl: content_plugin_2.jsonl.gz
|
||||||
compressed-jsonl: "content_plugin_2.jsonl.gz"
|
embeddings-file: content_plugin_2_embeddings.pt
|
||||||
embeddings-file: "content_plugin_2_embeddings.pt"
|
input-filter:
|
||||||
|
- '*2_new.jsonl.gz'
|
||||||
search-type:
|
search-type:
|
||||||
asymmetric:
|
asymmetric:
|
||||||
encoder: "sentence-transformers/msmarco-MiniLM-L-6-v3"
|
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
|
||||||
|
version: 0.9.1.dev0
|
||||||
|
|||||||
Reference in New Issue
Block a user