mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Remove config.yml and fix regenerate fetch response
This commit is contained in:
22
config.yml
22
config.yml
@@ -1,22 +0,0 @@
|
||||
content-type:
|
||||
image: null
|
||||
ledger: null
|
||||
music: null
|
||||
org:
|
||||
compressed-jsonl: .notes.json.gz
|
||||
embeddings-file: .note_embeddings.pt
|
||||
input-files:
|
||||
- /home/saba/notes/notes.org
|
||||
- /home/saba/notes/writing.org
|
||||
input-filter: null
|
||||
processor:
|
||||
conversation:
|
||||
conversation-history: ''
|
||||
conversation-logfile: .conversation_logs.json
|
||||
open-api-key: null
|
||||
search-type:
|
||||
asymmetric:
|
||||
cross-encoder: cross-encoder/ms-marco-MiniLM-L-6-v2
|
||||
encoder: sentence-transformers/msmarco-MiniLM-L-6-v3
|
||||
image:
|
||||
encoder: ''
|
||||
@@ -39,12 +39,11 @@ regenerateButton.addEventListener("click", (event) => {
|
||||
regenerateButton.disabled = true;
|
||||
fetch("/regenerate")
|
||||
.then(response => response.json())
|
||||
.then(data => () =>
|
||||
{
|
||||
regenerateButton.style.cursor = "pointer";
|
||||
regenerateButton.disabled = false;
|
||||
console.log(data);
|
||||
});
|
||||
.then(data => {
|
||||
regenerateButton.style.cursor = "pointer";
|
||||
regenerateButton.disabled = false;
|
||||
console.log(data);
|
||||
});
|
||||
})
|
||||
|
||||
function processChildren(element, data) {
|
||||
|
||||
Reference in New Issue
Block a user