Browser Search Engine — Unique AI Documentation

Browser Search Engine

5 min read

Overview

Use the search URL: https://<BASE_URL>/chat/space/<ASSISTANT_ID>?prompt=%s to configure a custom search engine in your favourite browser to use Unique AI as a search engine.

Unique AI as your browser’s search engine!

Please note the tail: ?prompt=%s. This is very important to make the page be recognized as a search URL.

Unique AI can be configured as a custom search engine in your browser, allowing you to access its powerful capabilities directly from the address bar. This setup streamlines your workflow by reducing the steps needed to interact with Unique AI.

Who is it for?

This guide is ideal for:

Benefits

Use Cases

The users can setup multiple Unique AI assistants as distinct search engines in their browser. Here are some suggestions.

Step-by-Step Guide

Assistant URL

In order to setup Unique AI assistant as a Search Engine, you will need the URL of the assistant of choice. (eg: https://next.unique.app/chat/space/assistant_gymnd0c0dhpgf7fxg41401s5) You can find this URL in your address bar when you click on your assistant from the assistant menu on the left of your screen.

The Assistant URL will have the following structure: https://<BASE_URL>/chat/space/<ASSISTANT_ID>

Search URL

To configure the search engine, you will need to use the following search URL format: https://<BASE_URL>/chat/space/<ASSISTANT_ID>?prompt=%s

Individual Browser Setup

Chrome

  1. Open Chrome and go to Settings.

  2. Under "Search engine," click "Manage search engines."

  3. Click "Add" next to "Site Search."

  4. Fill in the following details:

    1. Search engine: Unique AI [Assistant Name]
    2. Shortcut: :<your_preferred_letter>
    3. URL with %s in place of query: https://<BASE_URL>/chat/space/<ASSISTANT_ID>?prompt=%s
  5. Click "Add."

Brave

  1. Open Brave and go to Settings.

  2. Under "Search engine," click "Manage search engines."

  3. Click "Add" next to "Site Search."

  4. Fill in the following details:

    • Search engine: Unique AI [Assistant Name]
    • Shortcut: :<your_preferred_letter>
    • URL with %s in place of query: https://<BASE_URL>/chat/space/<ASSISTANT_ID>?prompt=%s
  5. Click "Add."

  6. Make Unique AI the Default Search Engine (Optional):

    1. In the "Manage search engines and site search" section, find the newly added Unique AI search engine.
    2. Click on the three dots next to it and select "Make default."

Safari

  1. Open Safari and go to Preferences.

  2. Click on the "Search" tab.

  3. In the "Search engine" dropdown, Safari does not natively support adding custom search engines directly through its interface. However, you can use a workaround by editing the ~/Library/Safari/SearchDescriptions.plist file or using a Safari extension that allows custom search engines.

Using a Safari Extension:

  1. Install a Safari extension that allows custom search engines, such as "AnySearch" or "Omnikey."
  2. Follow the extension's instructions to add a new custom search engine.
  3. Use the following details for the custom search engine:
    • Search engine name: Unique AI [Assistant Name]
    • Keyword: [Your preferred keyword]
    • URL with %s in place of query: https://<BASE_URL>/chat/space/<ASSISTANT_ID>?prompt=%s

Using SearchDescriptions.plist (Advanced Users):

  1. Open Terminal.
  2. Navigate to the Safari directory: cd ~/Library/Safari/
  3. Open or create the SearchDescriptions.plist file using a text editor like nano or vi: nano SearchDescriptions.plist
  4. Add a new entry for your custom search engine in the plist format. Here is an example entry:
<dict>
    <key>ShortName</key>
    <string>Unique AI [Assistant Name]</string>
    <key>URLTemplate</key>
    <string>https://<BASE_URL>/chat/space/<ASSISTANT_ID>?q={searchTerms}</string>
    <key>SuggestionsURLTemplate</key>
    <string></string>
    <key>InputEncoding</key>
    <string>UTF-8</string>
    <key>SearchForm</key>
    <string>https://<BASE_URL>/chat/space/<ASSISTANT_ID></string>
</dict>
  1. Save the file and restart Safari.

Microsoft Edge

  1. Open Microsoft Edge and go to Settings by clicking on the three dots in the upper right corner and selecting "Settings."

  2. In the left-hand menu, click on "Privacy, search, and services."

  3. Scroll down to the "Services" section and click on "Address bar and search."

  4. Click on "Manage search engines."

  5. Click on "Add" to create a new search engine.

  6. Fill in the following details:

    • Search engine: Unique AI [Assistant Name]
    • Keyword: [Your preferred keyword]
    • URL with %s in place of query:https://<BASE_URL>/chat/space/<ASSISTANT_ID>?prompt=%s
  7. Click "Add."

After adding the new search engine, you can set it as the default search engine if desired:

  1. In the "Manage search engines" section, find the newly added Unique AI search engine.
  2. Click on the three dots next to it and select "Make default”.

Firefox

We can add search engines in firefox in one of two ways

a. Using an add-on “Add Custom Search Engine”

Proceed with caution. This add-on is unmonitored by Mozilla. So it comes with potential risks.

  1. Open Firefox and go to the search bar (or address bar) and click on the magnifying glass icon.

  2. Click on "Change Search Settings" at the bottom of the dropdown menu.

  3. In the "Search" section, scroll down to "One-Click Search Engines" and click on "Find more search engines" at the bottom.

  4. This will take you to the Firefox Add-ons site. Search for an add-on that allows custom search engines, such as "Add Custom Search Engine."

  5. Install the add-on and open the menu by clicking on the puzzle-icon.

  6. Click on Add custom search engine and fill in the credentials.

  7. Use the following details for the custom search engine:

    1. Name: Unique AI [Assistant Name]
    2. Search URL with %s in place of query:https://<BASE_URL>/chat/space/<ASSISTANT_ID>?prompt=%s

b. Advanced

  1. Go to about:config

  2. Add browser.urlbar.update2.engineAliasRefresh

  3. Now go to about:preferences#searchand click on Add.

  4. Fill in the following details and click on Add Engine

    1. Search engine name: Unique AI [Assistant Name]
    2. Engine URL: https://<BASE_URL>/chat/space/<ASSISTANT_ID>?prompt=%s

Make Unique AI the Default Search Engine:

  1. Go back to the "Search" settings in Firefox.
  2. Under "Default Search Engine," select Unique AI from the dropdown menu.

Tips & Tricks

Limitations