Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete for Knowledge graph roles #58

Open
AlexMikhalev opened this issue Mar 15, 2024 · 1 comment
Open

Autocomplete for Knowledge graph roles #58

AlexMikhalev opened this issue Mar 15, 2024 · 1 comment
Assignees

Comments

@AlexMikhalev
Copy link
Contributor

Since Terraphim KG role graph-based scoring relies on the perfect match, it's not a free text form search; it would be better to add autocomplete from KG automata on the front end.
The ideal way forward will be to create a terraphim crate using fst crate and https://blog.burntsushi.net/transducers/ and compile it to wasm to connect to autocomplete functionality on the front end.

@AlexMikhalev
Copy link
Contributor Author

First prototype committed in autocomplete branch.

@AlexMikhalev AlexMikhalev self-assigned this Jul 8, 2024
AlexMikhalev added a commit that referenced this issue Jul 8, 2024
AlexMikhalev added a commit that referenced this issue Jul 28, 2024
* Autocomplete FE, WIP

Signed-off-by: AlexMikhalev <[email protected]>

* Reverted URL to String - URL::url isn't threadsafe

Signed-off-by: AlexMikhalev <[email protected]>

* Reverted URL to String - URL::url isn't threadsafe

Signed-off-by: AlexMikhalev <[email protected]>

* Removed ULid based ID

Signed-off-by: AlexMikhalev <[email protected]>

* fixing automata tests

Signed-off-by: AlexMikhalev <[email protected]>

* tests are green except load_url - format wrong

Signed-off-by: Alexander Mikhalev <[email protected]>

* make sure tests run in whole workspace

Signed-off-by: Alexander Mikhalev <[email protected]>

* Correct scorer applied for title search

Signed-off-by: Alexander Mikhalev <[email protected]>

* Small KG config refactor

Signed-off-by: Alex Mikhalev <[email protected]>

* fixed updating rolegraph after rebuilding thesaurus, not only on first load. WIP many tests broken.

Signed-off-by: Alex Mikhalev <[email protected]>

* fixed updating rolegraph after rebuilding thesaurus, not only on first load. WIP many tests broken.

Signed-off-by: Alex Mikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* Fixed logseq KG parser including tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixed logseq KG parser including tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Sample Logseq KG

Signed-off-by: Alex Mikhalev <[email protected]>

* Normalize query string

Signed-off-by: Alex Mikhalev <[email protected]>

* filtering ripgrep by markdown type

Signed-off-by: AlexMikhalev <[email protected]>

* filtering ripgrep by markdown type

Signed-off-by: AlexMikhalev <[email protected]>

* Interim fixes for graph

Signed-off-by: Alex Mikhalev <[email protected]>

* Small update

Signed-off-by: Alex Mikhalev <[email protected]>

* First autocomplete working

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete with reset

Signed-off-by: Alex Mikhalev <[email protected]>

* Cargo formatted

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixing tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixed autocomplete

Signed-off-by: Alex Mikhalev <[email protected]>

* feat: autosuggestions complete #95 #58

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete ready

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete ready

Signed-off-by: Alex Mikhalev <[email protected]>

* Added space

---------

Signed-off-by: AlexMikhalev <[email protected]>
Signed-off-by: Alexander Mikhalev <[email protected]>
Signed-off-by: Alexander Mikhalev <[email protected]>
Signed-off-by: Alex Mikhalev <[email protected]>
Co-authored-by: Alexander Mikhalev <[email protected]>
AlexMikhalev added a commit that referenced this issue Sep 26, 2024
* Autocomplete FE, WIP

Signed-off-by: AlexMikhalev <[email protected]>

* Reverted URL to String - URL::url isn't threadsafe

Signed-off-by: AlexMikhalev <[email protected]>

* Reverted URL to String - URL::url isn't threadsafe

Signed-off-by: AlexMikhalev <[email protected]>

* Removed ULid based ID

Signed-off-by: AlexMikhalev <[email protected]>

* fixing automata tests

Signed-off-by: AlexMikhalev <[email protected]>

* tests are green except load_url - format wrong

Signed-off-by: Alexander Mikhalev <[email protected]>

* make sure tests run in whole workspace

Signed-off-by: Alexander Mikhalev <[email protected]>

* Correct scorer applied for title search

Signed-off-by: Alexander Mikhalev <[email protected]>

* Small KG config refactor

Signed-off-by: Alex Mikhalev <[email protected]>

* fixed updating rolegraph after rebuilding thesaurus, not only on first load. WIP many tests broken.

Signed-off-by: Alex Mikhalev <[email protected]>

* fixed updating rolegraph after rebuilding thesaurus, not only on first load. WIP many tests broken.

Signed-off-by: Alex Mikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* Fixed logseq KG parser including tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixed logseq KG parser including tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Sample Logseq KG

Signed-off-by: Alex Mikhalev <[email protected]>

* Normalize query string

Signed-off-by: Alex Mikhalev <[email protected]>

* filtering ripgrep by markdown type

Signed-off-by: AlexMikhalev <[email protected]>

* filtering ripgrep by markdown type

Signed-off-by: AlexMikhalev <[email protected]>

* Interim fixes for graph

Signed-off-by: Alex Mikhalev <[email protected]>

* Small update

Signed-off-by: Alex Mikhalev <[email protected]>

* First autocomplete working

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete with reset

Signed-off-by: Alex Mikhalev <[email protected]>

* Cargo formatted

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixing tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixed autocomplete

Signed-off-by: Alex Mikhalev <[email protected]>

* feat: autosuggestions complete #95 #58

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete ready

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete ready

Signed-off-by: Alex Mikhalev <[email protected]>

* Added space

* Autocomplete refreshed

Signed-off-by: AlexMikhalev <[email protected]>

---------

Signed-off-by: AlexMikhalev <[email protected]>
Signed-off-by: Alexander Mikhalev <[email protected]>
Signed-off-by: Alexander Mikhalev <[email protected]>
Signed-off-by: Alex Mikhalev <[email protected]>
Co-authored-by: Alexander Mikhalev <[email protected]>
AlexMikhalev added a commit that referenced this issue Sep 26, 2024
* Autocomplete FE, WIP

Signed-off-by: AlexMikhalev <[email protected]>

* Reverted URL to String - URL::url isn't threadsafe

Signed-off-by: AlexMikhalev <[email protected]>

* Reverted URL to String - URL::url isn't threadsafe

Signed-off-by: AlexMikhalev <[email protected]>

* Removed ULid based ID

Signed-off-by: AlexMikhalev <[email protected]>

* fixing automata tests

Signed-off-by: AlexMikhalev <[email protected]>

* tests are green except load_url - format wrong

Signed-off-by: Alexander Mikhalev <[email protected]>

* make sure tests run in whole workspace

Signed-off-by: Alexander Mikhalev <[email protected]>

* Correct scorer applied for title search

Signed-off-by: Alexander Mikhalev <[email protected]>

* Small KG config refactor

Signed-off-by: Alex Mikhalev <[email protected]>

* fixed updating rolegraph after rebuilding thesaurus, not only on first load. WIP many tests broken.

Signed-off-by: Alex Mikhalev <[email protected]>

* fixed updating rolegraph after rebuilding thesaurus, not only on first load. WIP many tests broken.

Signed-off-by: Alex Mikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* fixing tests

Signed-off-by: AlexMikhalev <[email protected]>

* Fixed logseq KG parser including tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixed logseq KG parser including tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Sample Logseq KG

Signed-off-by: Alex Mikhalev <[email protected]>

* Normalize query string

Signed-off-by: Alex Mikhalev <[email protected]>

* filtering ripgrep by markdown type

Signed-off-by: AlexMikhalev <[email protected]>

* filtering ripgrep by markdown type

Signed-off-by: AlexMikhalev <[email protected]>

* Interim fixes for graph

Signed-off-by: Alex Mikhalev <[email protected]>

* Small update

Signed-off-by: Alex Mikhalev <[email protected]>

* First autocomplete working

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete with reset

Signed-off-by: Alex Mikhalev <[email protected]>

* Cargo formatted

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixing tests

Signed-off-by: Alex Mikhalev <[email protected]>

* Fixed autocomplete

Signed-off-by: Alex Mikhalev <[email protected]>

* feat: autosuggestions complete #95 #58

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete ready

Signed-off-by: Alex Mikhalev <[email protected]>

* Autocomplete ready

Signed-off-by: Alex Mikhalev <[email protected]>

* Added space

* Startup screen - WIP, doesn't work yet

Signed-off-by: Alex Mikhalev <[email protected]>

* Working startup screen - but file picker returns c:\fakepath. Abandoned until tauri 2

Signed-off-by: Alex Mikhalev <[email protected]>

* Working startup screen - but file picker returns c:\fakepath. Abandoned until tauri 2

Signed-off-by: Alex Mikhalev <[email protected]>

* Front end working

Signed-off-by: Alex Mikhalev <[email protected]>

* Commentted button in favour of input text field

Signed-off-by: Alex Mikhalev <[email protected]>

* splashscreen

Signed-off-by: Alex Mikhalev <[email protected]>

* Splashscreen working

Signed-off-by: Alexander Mikhalev <[email protected]>

* Splashscreen working

Signed-off-by: Alexander Mikhalev <[email protected]>

* Working copy

Signed-off-by: Alexander Mikhalev <[email protected]>

---------

Signed-off-by: AlexMikhalev <[email protected]>
Signed-off-by: Alexander Mikhalev <[email protected]>
Signed-off-by: Alexander Mikhalev <[email protected]>
Signed-off-by: Alex Mikhalev <[email protected]>
Co-authored-by: Alexander Mikhalev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant