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

Feature request: Embeddings etc. #97

Closed
Flonixcorn opened this issue Jan 1, 2023 · 4 comments
Closed

Feature request: Embeddings etc. #97

Flonixcorn opened this issue Jan 1, 2023 · 4 comments

Comments

@Flonixcorn
Copy link

when autocompleting embeddings, show embedding version or sort by version, so 2.X vs 1.X and when then selecting the autocomplete delete the <> from front and back :), thanks great embed!

@DominikDoom
Copy link
Owner

It was a bit hacky to get working, but I think it's functional now.
The default list includes both types since I can't test during completion which type of model the user currently uses, but you can prefix the search with v1/v2 to only show those types, as seen below:

chrome_2023-01-02_00-45-27.mp4

I wait for the webui to load the embeddings to then get their version info, but if the model doesn't load any (e.g. a v2 model, but the user has no v2 embeddings, or the same with v1), I can't test what version they are and default to v1 since it's more common.
I could theoretically check them manually, but that would mean embeddings being loaded twice which would increase startup time, so I compromised here.

@Flonixcorn
Copy link
Author

This doesnt work for me somehow!

@Flonixcorn
Copy link
Author

https://github.com/tkalayci71/embedding-inspector

here this guy here knows what version the embeddings are at all times!
if that helps somehow

@DominikDoom
Copy link
Owner

DominikDoom commented Jan 2, 2023

Your webui needs to be updated to use it since my method relies on info only introduced yesterday. I do the same as the other guy, load the embedding db and then compare the vector sizes. Only difference being that I wait for the webui to load them itself to prevent duplicate loading.

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

2 participants