15

Steps to reproduce.

1) Activate a lens in Research (in this example I have a lens for Hacker News so the search space is rather minimal and easy to see if that lens is used)
2) Inspect the answer which does not seem to use Lens at all. Also, the toggle in the UI gets deactivated on submission in step 1
3) Reactivate the toggle and then ask a follow-up question. Toggle is activated in the UI state but search results outside of the lens scope are still used.

Screenshot 1: Perform a query using Research mode with Lens activated

Screenshot 2: UI shows that lens is not toggled and results are in line with this

Screenshot 3: Activated the toggle again and performed a follow-up. Results are still out of the Lens's scope

Research assistant scope is limited to selected lens unless toggled off

    a month later

    This seems still broken to me. The ui shows the lenses enabled, but the results is not what I would expect when using the research assistant together with a lens. I've attached several screenshots. One regular kagi search with my web dev lens enabled. Giving me the expected result.

    But using that lens with the research assistant gives a summary based on websites that are definitely not in the list for that lens. I have also added the results for my lens for rust development and without any lens. You can see that the results are the same.

    I would expect the response to be based on the specific results provided by the search terms + lens.




      6 days later

      I have the same issue. I created a Lens for the Effect-TS TypeScript library with these sites:

      effect-ts.github.io/effect/*, effect.website, effect.website/docs/*, sandromaglione.com, ybogomolov.me, github.com/antoine-coulon/effect-introduction, github.com/antoine-coulon/effect-introduction/*

      When I do a search with the lens activated, I get some relevant reply using the quick reply.

      How provide multiple dependencies to an Effect program?

      When using the research assistant, it gives me answers that are clearly coming from outside the lens. It shows examples using React and not effect-ts.

        a month later

        doing a query on reasearch assistant in expert mode

        Example query

        the 1st behaviour that does not look correct is that once pressing enter and assistant starts replying, the lenses button toggles to false.

        the response is giving links not exactly respecting the lenses. For the given example, links not related to foruns

        i would expect the links provided and used to the assistant response to respect the selected lense

          a month later
          Merged 1 post from Research assistant with lenses activated - the reply is not considering only the lenses filter.

            When enabling the toggle for lensens for Assistant, it will not persist and gets reset after submitting a promt through the input field.

            Lenses should taken into consideration.

              3 months later
              Merged 1 post from Lense in Assistant resetting.

                If I ask the fast assistant How do I install nginx? using this lens, I get this:

                Here are the steps to install NGINX:

                1. Access your terminal. 【1】
                2. Add the NGINX signing key: $ sudo apt-key add nginx_signing. 【1】
                3. Change directory to /etc/apt: $ cd /etc/apt. 【1】
                4. Install NGINX from the default Ubuntu repositories: $ apt-get install nginx. 【2】【3】

                Alternatively, you can also install NGINX by following these steps:

                1. Run apt-get remove --purge nginx nginx-full nginx-common to remove any existing NGINX installations. 【4】
                2. Then run apt-get install nginx to install the latest version of NGINX. 【4】

                The installation process may vary slightly depending on your Linux distribution, but these steps should work for Ubuntu and other Debian-based systems. 【2】【3】

                [1] Setting Up NGINX
                [2] How To Install Nginx on Ubuntu 20.04 - DigitalOcean
                [3] Install and configure Nginx - Ubuntu
                [4] How to install nginx and install the configuration files too - Server Fault

                I get something similar with the Expert assistant. I also tried using the built in PDF lens, and that did not refer to PDF results in its sources.

                Contrast that with what the quick answer returns for the same question:

                To install nginx on GNU Guix, you can use the following commands:

                Install the latest version of nginx:
                guix install nginx
                Or install a specific version of nginx:
                guix install nginx@1.23.3[1]
                You can also configure nginx with Lua scripting support using the Guix Cookbook example provided at:
                Setting up NGINX with Lua (GNU Guix Cookbook)[2]

                nginx — Packages — GNU Guix
                Setting up NGINX with Lua (GNU Guix Cookbook)

                Formatting is lost when trying to copy the quick answer, but you can see that this obviously uses my GNU Guix lens.

                  a month later
                  Merged 1 post from Lenses do not apply for the AI assistants..

                    The Assistant Documentation says

                    Research Assistant supports using Lenses to filter the types of websites used as context to generate an answer.

                    As expected, I can set the Expert Research Assistant to use a lens:
                    !

                    However, when I can create a Custom Kagi Assistant with a "Base Mode = Research" and "Variant = Expert", the Lens option is not available:

                    I expected the Custom Assistant to refine the Expert Research assistant while leaving all functionality intact, including Lens. This expectation comes from the docs, which state "Custom assistant allows you to further customize one of the existing modes."

                      Merged 1 post from Custom Assistant doesn't use Lens.

                        Hi everyone, we've consolidated several threads that were discussing the same issue. Despite our efforts, we have been unable to resolve this bug. Given the new Assistant's entirely different implementation, we have decided to focus our resources on its rollout. Consequently, we will temporarily disable the Lenses feature in the current Assistant.

                        We apologise for the inconvenience and are working to launch the new Assistant as quickly as possible. Thank you for your understanding.

                          Baseline Behavior

                          Open Kagi Assistant, Research Mode, Expert Variant and activated the News 360 lens.

                          Run a query / prompt, observe result

                          False Positive Cache Hit in New Tab

                          Open a new tab

                          Open Kagi Assistant, Research Mode, Expert Variant but don't activate the lens

                          Run same query/prompt

                          Kagi returns an immediate and identical response while showing an inactive Lens toggle. Thus Kagi is displaying results that were not produced by the presented settings.

                          False Positive Cache Hit in New Private Window

                          Open a new tab

                          Open Kagi Assistant, Research Mode, Expert Variant but don't activate the lens

                          Run same query/prompt

                          Kagi returns an immediate and identical response while showing an inactive Lens toggle. Thus Kagi is displaying results that were not produced by the presented settings.

                          I expected changing the Lens settings to return a new conversation because the underlying web searches would be different.

                          I specifically did this to experiment with the effect of using Lens with the Research Assistant. I was surprised to get identical results!

                            Merged 1 post from Assistant Response Caching Ignores Lens Settings.
                              2 months later
                              No one is typing