mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-08 05:39:13 +00:00
Update setup.py version, Readme. Remove faulty release badge for now
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -1,15 +1,15 @@
|
|||||||
name: release
|
name: release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- v*
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
description: 'Version Number'
|
description: 'Version Number'
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- v*
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
[](https://github.com/debanjum/khoj/actions/workflows/build.yml)
|
[](https://github.com/debanjum/khoj/actions/workflows/build.yml)
|
||||||
[](https://github.com/debanjum/khoj/actions/workflows/test.yml)
|
[](https://github.com/debanjum/khoj/actions/workflows/test.yml)
|
||||||
[](https://github.com/debanjum/khoj/actions/workflows/publish.yml)
|
[](https://github.com/debanjum/khoj/actions/workflows/publish.yml)
|
||||||
[](https://github.com/debanjum/khoj/actions/workflows/release.yml)
|
|
||||||
|
|
||||||
*A natural language search engine for your personal notes, transactions and images*
|
*A natural language search engine for your personal notes, transactions and images*
|
||||||
|
|
||||||
@@ -107,7 +106,7 @@ pip install --upgrade khoj-assistant
|
|||||||
## Troubleshoot
|
## Troubleshoot
|
||||||
|
|
||||||
- Symptom: Errors out complaining about Tensors mismatch, null etc
|
- 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
|
- Symptom: Errors out with \"Killed\" in error message in Docker
|
||||||
- Fix: Increase RAM available to Docker Containers in Docker Settings
|
- 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)
|
- 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
|
- 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
|
- 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 performance
|
||||||
|
|
||||||
- Indexing is more strongly impacted by the size of the source data
|
- 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
|
- Indexing 4000+ images takes about 15 minutes and more than 8Gb of RAM
|
||||||
- Once <https://github.com/debanjum/khoj/issues/36> is implemented, it should only take this long on first run
|
- Once <https://github.com/debanjum/khoj/issues/36> is implemented, it should only take this long on first run
|
||||||
|
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -7,7 +7,7 @@ this_directory = Path(__file__).parent
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='khoj-assistant',
|
name='khoj-assistant',
|
||||||
version='0.1.7',
|
version='0.1.8',
|
||||||
description="A natural language search engine for your personal notes, transactions and images",
|
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=(this_directory / "Readme.md").read_text(encoding="utf-8"),
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
|||||||
Reference in New Issue
Block a user