-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #149 from Endle/llm_candidate
- Loading branch information
Showing
27 changed files
with
1,222 additions
and
547 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,17 +10,15 @@ jobs: | |
cargo-deny: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Rust | ||
- uses: actions/checkout@v4 | ||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
profile: minimal | ||
override: true | ||
- name: Run sccache-cache | ||
uses: Xuanwo/sccache-action@c94e27bef21ab3fb4a5152c8a878c53262b4abb0 | ||
with: | ||
version: "v0.4.0-pre.6" | ||
uses: mozilla-actions/[email protected] | ||
- name: Get Date | ||
id: get-date | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,9 @@ name: Linux and macOS | |
# Template Reference: https://www.infinyon.com/blog/2021/04/github-actions-best-practices/ | ||
on: | ||
push: | ||
branches: [ master ] | ||
branches: [ master, llm_candidate ] | ||
pull_request: | ||
branches: [ master ] | ||
branches: [ master, llm_candidate ] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
@@ -22,17 +22,17 @@ jobs: | |
os: [ubuntu-latest, macos-13, macos-14] | ||
rust: [stable] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
- name: Install Rust ${{ matrix.rust }} | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: ${{ matrix.rust }} | ||
profile: minimal | ||
override: true | ||
- name: Run sccache-cache | ||
uses: mozilla-actions/sccache-action@c94e27bef21ab3fb4a5152c8a878c53262b4abb0 | ||
with: | ||
version: "v0.4.0-pre.6" | ||
uses: mozilla-actions/[email protected] | ||
- name: Get Date | ||
id: get-date | ||
run: | | ||
|
@@ -74,7 +74,6 @@ jobs: | |
- name: Run sccache stat for check | ||
shell: bash | ||
run: ${SCCACHE_PATH} --show-stats | ||
|
||
|
||
|
||
release: | ||
|
@@ -89,9 +88,7 @@ jobs: | |
profile: minimal | ||
override: true | ||
- name: Run sccache-cache | ||
uses: Xuanwo/sccache-action@c94e27bef21ab3fb4a5152c8a878c53262b4abb0 | ||
with: | ||
version: "v0.4.0-pre.6" | ||
uses: mozilla-actions/[email protected] | ||
- name: Get Date | ||
id: get-date | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
### 0.2.1 | ||
|
||
New feature: Note Summarization with Local LLM. | ||
|
||
What happens locally, what stays locally. | ||
|
||
#### Run server with local LLM | ||
fireSeqSearch facilitates [llamafile](https://github.com/Mozilla-Ocho/llamafile) by [Mozilla](https://github.com/Mozilla-Ocho). | ||
|
||
``` | ||
mkdir -pv ~/.llamafile && cd ~/.llamafile | ||
wget https://huggingface.co/Mozilla/Mistral-7B-Instruct-v0.2-llamafile/resolve/main/mistral-7b-instruct-v0.2.Q4_0.llamafile?download=true | ||
chmod +x mistral-7b-instruct-v0.2.Q4_0.llamafile | ||
``` | ||
|
||
After that, compile and run fireSeqSearch with LLM | ||
``` | ||
cargo build --features llm | ||
target/debug/fire_seq_search_server --notebook_path ~/logseq | ||
# Obsidian users | ||
target/debug/fire_seq_search_server --notebook_path ~/obsidian --obsidian-md | ||
``` | ||
|
||
Finally, update the [Firefox Addon](https://addons.mozilla.org/en-US/firefox/addon/fireseqsearch/). | ||
|
||
#### Demo Video | ||
https://github.com/user-attachments/assets/b0a4ca66-0a33-401a-a916-af7a69f2ae7b | ||
|
||
This demo used [AstroWiki](https://github.com/AYelland/AstroWiki_2.0), which is licensed under MIT license. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.