mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Remove config.yml and fix regenerate fetch response
This commit is contained in:
parent
112868962b
commit
04132a2f34
2 changed files with 5 additions and 28 deletions
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) {
|
||||
|
|
Loading…
Reference in a new issue