Managing Knowledge Tools¶
A Knowledge Tool connects your Agentic application to a Search AI application within the same workspace. This integration enables the agent to retrieve accurate, context-aware responses by leveraging indexed content.
Create a Knowledge Tool¶
You can either create a new Search AI application from the Agentic application or link an existing Search AI application.
To associate the Agentic application with a knowledge tool, open the application and navigate to the Knowledge page. This page displays all existing Knowledge Tools in the Agentic app.
To add a new knowledge tool to the application, select one of the following options from the drop-down at the top of the page.
- Create from existing sources - Associate the Agentic application with an existing Search AI application. If the associated application has indexed content , it becomes readily accessible for use in the agentic app.
- Create from scratch - This allows you to create a new Search AI application from scratch. This involves creating a new Search AI application, setting up indexing configurations, and adding content sources to the application for ingestion. Learn More.
Create from existing sources¶
This is used when linking the agentic application to a pre-existing Search AI app.
Prerequisites
- An existing Search AI application must be available in the same workspace.
Steps
-
On the Knowledge page, provide the configuration details of the Knowledge Tool.
- Knowledge Base Name - Unique name used to identify the knowledge tool in the agentic application.
- Description - A brief summary of the type of content included. This helps the agents understand when to use this knowledge base to retrieve information.
- Knowledge Sources - Click Link Knowledge Source to view all the Search AI applications in the same workspace as that of the Agentic App which are accessible.
-
Select the appropriate application and click Select. After selecting the application, set the following retrieval configurations.
- Use Knowledge Base to respond with - This field indicates the type of content to be fetched from the Search AI application.
- Chunks - Returns only the top chunks relevant to the user query.
- Answer - Returns the answer generated by Search AI in response to the user query.
- If you select both chunks and answer, the response from Search AI contains the generated answer as well as the set of relevant chunks used for generating the answer.
- Meta Filters (Optional) - This field is used to configure how information is retrieved from the knowledge base. Use this field to set additional filters on the content in Search AI. For instance, to use only the content in webpages ingested in Search AI, set filter as shown below.
- Use Knowledge Base to respond with - This field indicates the type of content to be fetched from the Search AI application.
-
Click Create to complete the integration.
You can update content or modify configurations at any time by navigating to the associated Search AI application.
Create from Scratch¶
On the Knowledge page, select Create from Scratch from the dropdown menu. Enter the following details.
- Knowledge Base Name - Unique name used to identify the knowledge tool in the agentic application.
- Description - A brief summary of the type of content included. This helps the agents understand when to use this knowledge base to retrieve information.
Click Create. This action creates a new Search AI application within the same workspace, using the Knowledge Base Name as the application name.
Next Steps: Navigate to the Search AI application and configure it for answer generation as required.
- Set extraction strategies.
- Ingest Content. {:target="_blank"}
- Set Retrieval Strategies.
- Configure answer generation.
Unlinking the Knowledge Base¶
To remove the knowledge tool from the Agentic app, go to the Knowledge page and unlink the knowledge tool.
Manage Content in Search AI¶
To update the content in the search AI application or edit any configurations, use the Manage Content option to navigate to the corresponding Search AI app. Learn More.