mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Fix formatting of khoj test config and unused references in conftests
This commit is contained in:
parent
7722a9c347
commit
5bb42e56a8
2 changed files with 20 additions and 16 deletions
|
@ -10,7 +10,7 @@ from khoj.main import app
|
|||
from khoj.configure import configure_processor, configure_routes, configure_search_types
|
||||
from khoj.processor.markdown.markdown_to_jsonl import MarkdownToJsonl
|
||||
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.rawconfig import (
|
||||
ContentConfig,
|
||||
|
|
|
@ -1,23 +1,27 @@
|
|||
content-type:
|
||||
org:
|
||||
input-files: [ "~/first_from_config.org", "~/second_from_config.org" ]
|
||||
input-filter: ["*.org", "~/notes/*.org"]
|
||||
compressed-jsonl: ".notes.json.gz"
|
||||
embeddings-file: ".note_embeddings.pt"
|
||||
compressed-jsonl: .notes.json.gz
|
||||
embeddings-file: .note_embeddings.pt
|
||||
index-header-entries: true
|
||||
|
||||
input-files:
|
||||
- ~/first_from_config.org
|
||||
- ~/second_from_config.org
|
||||
input-filter:
|
||||
- '*.org'
|
||||
- ~/notes/*.org
|
||||
plugins:
|
||||
content_plugin_1:
|
||||
input-files: [ "content_plugin_1_new.jsonl.gz" ]
|
||||
compressed-jsonl: "content_plugin_1.jsonl.gz"
|
||||
embeddings-file: "content_plugin_1_embeddings.pt"
|
||||
|
||||
compressed-jsonl: content_plugin_1.jsonl.gz
|
||||
embeddings-file: content_plugin_1_embeddings.pt
|
||||
input-files:
|
||||
- content_plugin_1_new.jsonl.gz
|
||||
content_plugin_2:
|
||||
input-filter: [ "*2_new.jsonl.gz" ]
|
||||
compressed-jsonl: "content_plugin_2.jsonl.gz"
|
||||
embeddings-file: "content_plugin_2_embeddings.pt"
|
||||
|
||||
compressed-jsonl: content_plugin_2.jsonl.gz
|
||||
embeddings-file: content_plugin_2_embeddings.pt
|
||||
input-filter:
|
||||
- '*2_new.jsonl.gz'
|
||||
search-type:
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue