How to add Multiple Knowledge Bases & link AI Agents
Add and connect multiple knowledge bases in Pingstreams and assign them to different AI agents for precise, layered information retrieval.

In Pingstreams, you have the flexibility to manage multiple Knowledge Bases (KBs) using namespaces. This feature is incredibly useful for organizing different sets of information and ensuring that specific AI Agents have access to the relevant data. This tutorial will guide you through the process of creating and managing multiple namespaces for your Knowledge Bases in Pingstreams.
Purpose of Multiple Namespaces
Section titled “Purpose of Multiple Namespaces”- Organization: Separate different types of content, such as FAQs, technical documentation, and product-specific information.
- AI Agent-Specific Knowledge: Ensure that each AI agent only accesses the relevant Knowledge Base, improving the accuracy and efficiency of responses.
- Scalability: Easily manage and scale your Knowledge Bases as your content grows.
Step 1: Log in to Pingstreams and navigate to the Flows Section
Section titled “Step 1: Log in to Pingstreams and navigate to the Flows Section”- Open your web browser and navigate to Pingstreams.
- Log in with your credentials.
- From the left-side menu, click on the Knowledge Base with the brain icon.
Step 2: Understanding the Default Namespace
Section titled “Step 2: Understanding the Default Namespace”In the new page, you will see the list of knowledge bases on the left side. By default, you have a knowledge base ready to be populated, but you can add more.

Managing Multiple Knowledge Bases
Section titled “Managing Multiple Knowledge Bases”1. Changing the Knowledge Base Name (optional)
Section titled “1. Changing the Knowledge Base Name (optional)”Purpose: Rename the default namespace to better reflect its content.
How to Change:
- Click on “Default”.
- Enter the desired name for your Knowledge Base; it’ll automatically get saved.
2. Adding a New Knowledge Base
Section titled “2. Adding a New Knowledge Base”Purpose: Create additional namespaces for different sets of content.
How to Add:
- From the left-side menu, click on ”+ New Knowledge Base”.
- In the pop-up window, you have the option to choose the type of knowledge base.
- Enter the name for the new Knowledge Base and click on Create, as shown below.


3. Viewing and Switching Between Knowledge Bases
Section titled “3. Viewing and Switching Between Knowledge Bases”Purpose: Easily navigate between different namespaces to manage or view their contents.
How to Switch:
- From the left-side menu, under Your Knowledge Bases, choose the desired Knowledge Base
- The content and configuration for the selected namespace will be displayed
- Also, you can see which AI agent is connected to this Knowledge Base

Deleting Namespaces
Section titled “Deleting Namespaces”To empty the entire namespace, simply click on the red Delete button, as shown below.
You can also choose to remove the namespace altogether by ticking the box “Also delete the Knowledge Base”.

Assigning AI Agents to Knowledge Bases
Section titled “Assigning AI Agents to Knowledge Bases”1. View Connected AI Agents
Section titled “1. View Connected AI Agents”When you select a specific namespace, you will see which AI Agent is connected to that particular Knowledge Base.

2. Assign AI Agent to Different Knowledge Base
Section titled “2. Assign AI Agent to Different Knowledge Base”To assign an AI Agent to a different Knowledge Base:
- Go to the Flows section.
- Select the AI Agent you want to configure.
- In the agent flows, choose the appropriate Block with the Ask Knowledge Base feature containing the linked namespace.

Conclusion
Section titled “Conclusion”Using multiple namespaces for your Knowledge Bases in Pingstreams allows for better organization, targeted information delivery, and scalability. By following this tutorial, you can efficiently create, manage, and utilize multiple Knowledge Bases, enhancing the overall performance and effectiveness of your Pingstreams AI Agents.