146 points · by andrewnguonly · 2y ago · 39 comments
- Summarize long threads on issue tracking sites, forums, and social media sites
- Summarize news articles
- Ask questions about reviews on business and product pages
- Ask questions about long, technical documentation
- What else?
Would also be cool to have the extension click into every link of search results and spit out an aggregate of the results
I'll look into figuring out how to parse the chats.
Happy to elaborate more. We are gearing up for a wider HN launch soon
Admittedly, we use cloud hosted providers since we found the quality to be much higher, though awesome to see local versions as well.
I do agree that 3rd party LLM services (e.g. OpenAI) are much more powerful. For basic tasks (e.g. summarization, Q&A), local LLMs seem to perform decently.
1. Research across an industry 2. Generating new content 3. Connecting ideas / building networked thought
For that reason we were deterred from using local models. Hopefully the Mistral team and similar keep pushing out new developments to get comparable with GPT-4 levels
If you want to configure a custom content parser for a specific website (i.e. websites you visit frequently), you'll need to modify `contentConfig.ts` according to the instructions here: https://github.com/andrewnguonly/Lumos?tab=readme-ov-file#cu...
Sorry, I realize these instructions are probably unclear. My approach for parsing content is a bit hacky. I need to create a video tutorial/documentation to show how to inspect the webpage and pick out content to parse. Created this issue to track: https://github.com/andrewnguonly/Lumos/issues/37
Unzip `lumos_1_0_0.zip` and you can load the unpacked extension.
Tracking issue here: https://github.com/andrewnguonly/Lumos/issues/40
I'll figure out a workaround and document the steps to install: https://github.com/andrewnguonly/Lumos/issues/36
I really like the per-site parsers, which make a lot of sense
Congrats :)
I elaborate a little bit more on my thinking and approach for parsing in this blog post (4 min read): https://medium.com/@andrewnguonly/local-llm-in-the-browser-p...
Did you experiment with the sidePanel api yet? You can open it, but the <input> will not get focus like with the popups. You'd think at least with the commands keybindings, or reacting to the browser action icon click this should be possible?!
I asked Lumos some questions and it's hitting the embeddings endpoint many times, and then when I asked a follow up question, it hit the same endpoints again, each taking a few hundred ms. It's not caching them? TBD?
p.s. iirc There's some way to set the key in the manifest such that you'll get a static id, useful for OLLAMA_ORIGINS where you don't need * in the examples.
p.p.s starling-lm is really great for a default local model for these types of things
Regarding the caching -- the entire RAG workflow needs an update. I'll spend some time on it. Thanks for calling out and thanks for the PR!
Or are you asking if it can automatically get the transcript from a YouTube video? At the moment, it can't do the latter. I do plan to support multi-modal LLMs (llava via Ollama), but I'm not sure how the mechanics of the extension will work yet. Open issue: https://github.com/andrewnguonly/Lumos/issues/27
I know you can accomplish a lot of this kind of direct content filtering with uBlock Origin, but as far as I'm aware you have to configure e.g. CSS selectors per site.