Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The lenses are more about what results will be returned by Kagi's search. They were originally (and still are) a search feature you can use in regular searches.

For example, one of their default lenses is "Academic". It searches research institutions/scientific journals/universities/etc. So as an example, if I search "ulcer risk of ibuprofen":

The "Academic" lens returns the NIH with "Research summaries -- Preventing peptic ulcers"[0] and ScienceDirect with a paper on "The gastrointestinal effects of nonselective NSAIDs and COX-2-selective inhibitors"[1].

Searching without the lens, I get Healthline's "Ibuprofen and Ulcers: Why They Happen and How To Avoid Them"[2] and Medical News Today's "Ibuprofen ulcers: Effects, symptoms, causes, and more"[3].

You can apply these lenses to searches the AI assistant performs separately from the prompts/context/etc. So, for instance, I can set up an "assistant" based on Claude called "Research" restricted to the "Academic" lens. When I ask that assistant questions and it performs a web search, only results from the academic lens (research institutes, universities, etc) will be returned to the AI.

You could do similar with, e.g., setting up an assistant for "Coding with Python" and creating a lens that's restricted to the Python documentation, one for "Local Knowledge" that's restricted to sites from your region, "Recent Developments" that only considers sites published in a certain timeframe, "eBooks" that only returns epub results, etc.

Your prompt/etc is configured separately as part of the "assistant" you're using. So you could have a research assistant with a prompt that asks it to approach the problem step-by-step and evaluate the veracity of the sources, a coding assistant whose prompt includes the language/framework, etc. But there's nothing stopping you hooking your "research assistant" up to your "Coding with Python" lens.

[0] https://www.ncbi.nlm.nih.gov/books/NBK310269/ [1] https://www.sciencedirect.com/science/article/abs/pii/S00490... [2] https://www.healthline.com/health/ibuprofen-ulcer [3] https://www.medicalnewstoday.com/articles/ibuprofen-ulcers



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: