Web search setup for "Personal Assistant" applications
Activating and configuring web search settings allows your Personal Assistant type LLM application to access external information to provide answers based on updated data found on the internet.
Prerequisites
- Have access to the Wikit Semantics console.
- Have access to the Wikit IAM console.
Step-by-step procedure
Step 1: Create the LLM application
- Access the Wikit Semantics console and navigate to the LLM Apps tab.
- Click on the Create an LLM app button.
- Under Type, select Personal Assistant.
- Fill in the Name field for your application.
- Click on Create.
Step 2: Enable web search
- Once the application is created, you will arrive at the LLM App Details page.
- Click on the Advanced Settings tab.
- Scroll down to the Web search settings section.
- Click on the three vertical dots (
⋮) to the right of the section. - Select Activate.
Step 3: Configure web search options
After activation, you will see two options toggled to "Disabled". To configure them, click again on the three vertical dots (⋮) in the Web search settings section and choose Edit.
3.1. Default activation options
You can define how web search behaves for the end-user:
- Search active by default: Enable this option so that, by default, web search is made accessible to the LLM from the user's first message.
- Display web search button: Enable this option to display a button in the Semantics Chat interface, allowing the end-user to manually enable or disable the use of web search for their conversation.
3.2. Search provider configuration (Temporal filter)
You can restrict the documents considered in search results based on their publication date:
- Start date: Define a date from which published documents will be included in the search results.
- End date: Define a date up to which published documents will be included in the search results.
Example: If you set the Start Date to 01/01/2025, only sites and documents published from that date onwards will be used by the LLM to respond.
3.3. Domain control
You have two options to refine the source of information:
- Exclude domains (List of sites from search results):
- Allows you to specifically exclude certain sites or domains (URLs) whose results you do not want to be taken into account (e.g., unreliable sources).
- Click Add and enter the URL of the domain to exclude (Example:
https://wikipedia.org).
- Include domains (Search only within the defined list of sites):
- Allows you to restrict web search to be performed only on the sites you define.
- Click Add and enter the URL of the domain to include (Example:
https://wikit.ai).
3.4. Maximum number of results
- Maximum number of results: Define the maximum number of web search results that will be transmitted to the LLM to generate a response. (The default value is 15).
Step 4: Save changes
Once all parameters are defined, click the blue Save button at the bottom of the page to apply your web search configuration.
Step 5: Test Your Personal Assistant
- Go to your personal assistant. You can retrieve the link in the Semantics chat tab.
- You can use the document upload tool to associate it with the web search tool.
- You can also ask a question whose answer is found on the Internet. The personal assistant will answer you using the information from the sites you included in the web search.
Congratulations! You have created and deployed a personal assistant based on the websites you indicated to it! This is a faithful ally in your daily tasks!