Knowledge app modules
Use Knowledge modules to upload, update, delete, search, and view details about your knowledge files. This section is a reference for these modules and their settings.
Add Knowledge modules to scenarios
You can add Knowledge modules to scenarios in three ways:
- In an AI agent scenario after the Make AI Agent (New) > Run an agent module
- In an AI agent scenario as a tool for the Make AI Agent (New) > Run an agent module
- In a standard scenario on its own or with other Knowledge modules
Modules
Use Knowledge modules to upload, update, delete, search, and view details about your knowledge files.
Append knowledge text
The Knowledge > Append knowledge text module adds content to the end of an existing file. Supported file types include .txt and .md.
Tip: Your agent can use this module to regularly update its knowledge.
Select file
Select an existing text-based file to update or append.
Content
Enter the text to add to the end of the file.
Delete knowledge
The Knowledge > Delete knowledge module deletes a file from the knowledge base.
File ID
Specify the ID of the file to delete, or let the agent decide.
Update knowledge file
The Knowledge > Update knowledge file replaces the content of an existing file that has the same file type. For example, it replaces one PDF with another PDF.
Select file
Select the existing file to replace.
File
Map the value corresponding to the file content from a previous download file module, for example, Data.
Update knowledge text
The Knowledge > Update knowledge text replaces the text content of an existing text file. Supported file types include .txt and .md.
Select file
Select the existing file to replace.
Content
Enter the text to replace the existing file with.
Upload knowledge file
The Knowledge > Upload knowledge file adds a file to the knowledge base.
Prerequisites
- Add a download file module before this module to map the file name and content.
Use it when:
- You want a separate scenario to manage knowledge
- You want to automate knowledge uploads from external sources like Google Drive
The Upload knowledge file module is an alternative to manually uploading knowledge files. See Knowledge files for AI agents for all options for uploading knowledge files and step-by-step instructions.
File name
Name the file, or map the value corresponding to the file name from a previous download file module.
File content
Map the value corresponding to the file content from a previous download file module, for example, Data.
Upload knowledge text
The Knowledge > Upload knowledge text module adds a text file to the knowledge base. Give the agent text to turn into a file.
File name
Name the file.
File content
Paste text into this field to turn it into a file when you run the module.
Get knowledge
The Knowledge > Get knowledge module retrieves details about a specific knowledge file (metadata), such as name, description, date, and ID. View this information in the output bundle of the module.
Use it when:
- You need the file ID of a specific file to use in other modules
- You want to see when a file was last updated
- You're debugging knowledge file issues
File
Select an existing file to get its metadata.
List knowledge files
The Knowledge > List knowledge files module shows all files in an agent's knowledge base.
Use it when:
- You want to see all available files
- You want the file IDs of multiple files
- You want to see order files based on name, size, and upload date
Order by
Specify how the agent orders the returned files.
Limit
Specify the number of files you want to return. Alternatively, leave this field empty to return all files.
Query knowledge
Use the Knowledge > Query knowledge module to ask a question about the files in the agent's knowledge base.
Use it when:
- You want to test the information your agent can find in your files
- You're debugging why the agent isn't retrieving the right information
Search query
Ask a question about an existing file, like how you would interact with an AI search engine or chatbot.
Alternatively, if you ask this question in the Make AI Agent (New) > Run an agent module, in Input, let the agent decide.
Files
Add existing knowledge files for the agent to search in, or leave empty to search all files.
Limit
Specify the number of results (chunks) the agent outputs, or let the agent decide.