Add a web search
Add a web search as a tool in Now Assist Skill Kit. Adding a web search as a tool enables you to add search results to your prompt.
Vorbereitungen
Role required: sn_skill_builder.admin or admin.
To use web search as a tool, you must bring your own search engine API key and configure it on the ServiceNow AI Platform.
Prozedur
- Navigate to All > Now Assist Skill Kit > Home.
- Create a skill or select the skill that you want to add web search to.
- Select the Tool editor tab.
- Select the (+) icon to add a node.
- Select Tool node, and then Add.
- Select Web Search in the Tool type field.
-
Select Configure web searchConfigure tool.
- On the General info form, enter a Name and select Web Search for the Resource field.
- Select Continue.
-
On the Tool inputs form, fill in the fields.
Tabelle : 1. Web search configuration form Field Description Name The name for the web search tool. Search result type The type of result you want from the search.
- Searching and scraping generates multiple responses to the search query using Now LLM Service. You must configure a scraping API. The default search is Bing. Configuration is required to use Google.
- AI answers generates a single response to the search query using Perplexity or Gemini. You must configure a Perplexity or Gemini API to use it.
AI answers is the type of result that you want from the search. AI answers generates a single response to the search using either Perplexity, OpenAI, or Gemini.
AI search providers The AI search provider used to perform the search. Hinweis:If you select Perplexity or OpenAI, you must complete the API key setup in the AI Search answers OneExtend capability table. For more information on that process, see Configure AI search answers capability for web search. Although Azure Open AI is an option to select, Azure Open AI doesn't support web search.Search query The word, words, or phrase you’re searching for. Number of results The number of results that you want returned. Sites or domains This field appears but it's not supported. Country The country the results come from. Max tokens This field appears but it's not supported. - Select Continue.
- On the Tool outputs form, select Continue.
- On the Tool conditions (optional) form, select Continue.
- On the Summary screen, select Add tool.