mlc-ai / web-llm

High-performance In-browser LLM Inference Engine
https://webllm.mlc.ai
Apache License 2.0
11.65k stars 721 forks source link

DOM manipulation (use case: filtering web search results locally) #465

Open eMPee584 opened 2 weeks ago

eMPee584 commented 2 weeks ago

Web search results today have become abhorrently useless, since most search engines have cranked up the fuzzy factor sky high and usually show results matching any instead of ALL provided search terms. A solution could be to show an LLM two items in the results so it can grok the DOM structure and give it keywords to filter in/out items.

I was looking for an extension to do this but couldn't find what i'm looking for, but this seems to provide the infrastructure so I thought why not propose this here ; )

eMPee584 commented 2 weeks ago

Uhm, actually found what I was looking for (https://github.com/proton/better-amazon) but leaving this open for inspiration, feel free to close at your own discretion.