From e4d40e4d4d020a26ef338e39f1e95743bad1c256 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Wed, 7 Sep 2022 14:51:03 +0300 Subject: [PATCH] Update setup.py version, Readme. Remove faulty release badge for now --- .github/workflows/release.yml | 6 +++--- Readme.md | 6 +++--- setup.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a664f12e..9d642f2b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,15 +1,15 @@ name: release on: + push: + tags: + - v* workflow_dispatch: inputs: version: description: 'Version Number' required: true type: string - push: - tags: - - v* jobs: publish: diff --git a/Readme.md b/Readme.md index 628ce458..301e2369 100644 --- a/Readme.md +++ b/Readme.md @@ -2,7 +2,6 @@ [![build](https://github.com/debanjum/khoj/actions/workflows/build.yml/badge.svg)](https://github.com/debanjum/khoj/actions/workflows/build.yml) [![test](https://github.com/debanjum/khoj/actions/workflows/test.yml/badge.svg)](https://github.com/debanjum/khoj/actions/workflows/test.yml) [![publish](https://github.com/debanjum/khoj/actions/workflows/publish.yml/badge.svg)](https://github.com/debanjum/khoj/actions/workflows/publish.yml) -[![release](https://github.com/debanjum/khoj/actions/workflows/release.yml/badge.svg)](https://github.com/debanjum/khoj/actions/workflows/release.yml) *A natural language search engine for your personal notes, transactions and images* @@ -107,7 +106,7 @@ pip install --upgrade khoj-assistant ## Troubleshoot - Symptom: Errors out complaining about Tensors mismatch, null etc - - Mitigation: Disable `image` search on the desktop GUI + - Mitigation: Disable `image` search using the desktop GUI - Symptom: Errors out with \"Killed\" in error message in Docker - Fix: Increase RAM available to Docker Containers in Docker Settings - Refer: [StackOverflow Solution](https://stackoverflow.com/a/50770267), [Configure Resources on Docker for Mac](https://docs.docker.com/desktop/mac/#resources) @@ -125,11 +124,12 @@ pip install --upgrade khoj-assistant - Semantic search using the bi-encoder is fairly fast at \<50 ms - Reranking using the cross-encoder is slower at \<2s on 15 results. Tweak `top_k` to tradeoff speed for accuracy of results +- Filters in query (e.g by file, word or date) usually add \<20ms to query latency ### Indexing performance - Indexing is more strongly impacted by the size of the source data -- Indexing 100K+ line corpus of notes takes 6 minutes +- Indexing 100K+ line corpus of notes takes about 10 minutes - Indexing 4000+ images takes about 15 minutes and more than 8Gb of RAM - Once is implemented, it should only take this long on first run diff --git a/setup.py b/setup.py index 8d58ea5c..5f197e13 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ this_directory = Path(__file__).parent setup( name='khoj-assistant', - version='0.1.7', + version='0.1.8', description="A natural language search engine for your personal notes, transactions and images", long_description=(this_directory / "Readme.md").read_text(encoding="utf-8"), long_description_content_type="text/markdown",