andrewnguonly / Lumos

A RAG LLM co-pilot for browsing the web, powered by local LLMs
MIT License
1.41k stars 102 forks source link

Support for Domain Matching (e.g., domain.com matches news.domain.com) #185

Closed lesca closed 3 months ago

lesca commented 3 months ago

Hello,

I was wondering if it would be possible to add support for domain matching in the project. Specifically, it would be helpful if a domain like domain.com could match its subdomains, such as news.domain.comor location.news.domain.com.

My test rules indicate the domain name must exactly match.

This feature would be particularly useful in scenarios where a website has multiple subdomains but html structure is similar.

Is this a feature already be there but I missed? Or is it possible that could be considered for a future update?

Thank you for your time and consideration!

andrewnguonly commented 3 months ago

There's a bug in the domain matching logic. I'll fix it so that subdomains are matched.

andrewnguonly commented 3 months ago

Fixed in the latest release (1.0.16): https://github.com/andrewnguonly/Lumos/releases/tag/1.0.16