Make AI Agents (New)
Knowledge
23 min
when you have large blocks of text that an agent must reference often, upload them as knowledge files and reduce the tokens used in requests this guide covers how knowledge works for make ai agents, where to upload and manage it, and its modules and credit usage what is knowledge for ai agents? k nowledge is reference information that your agent uses to tailor its responses to your goals it consists of files stored in the agent's long term memory examples of knowledge files include company knowledge bases, brand guidelines, style guides, and policies how knowledge works when you upload a knowledge file, your agent can search it and retrieve only the relevant parts when responding to requests here's how knowledge file upload and retrieval work you upload a knowledge file to an agent {{product name}} stores the file in a rag vector database, splitting the file into smaller text segments called chunks, and converting the chunks to vectors you later send a request to the agent that relates to the file the agent searches the database for the chunks relevant to the request to respond, the agent only returns the most relevant chunks instead of the entire file knowledge file requirements knowledge files have the following limitations supported file types txt, pdf, docx, csv, md, and json files file size and quantity 20 mb maximum per file 20 files maximum per agent team and organization limits free, core, pro plans 100 files per team, 150 files per organization teams plan 150 files per team, 200 files per organization enterprise plan 250 files per team, 500 files per organization {{product name}} deletes files after 180 days of inactivity (if your agent hasn't queried them) upload knowledge you can upload knowledge files to the make ai agents (new) app or the knowledge app, depending on your workflow with the make ai agents (new) app upload knowledge with the make ai agents (new) app for files that rarely change, such as company guidelines or style guides when to use it for one time file uploads for files that you don't plan to update often for a quick setup during the agent configuration with the knowledge app upload knowledge with the knowledge app for files that require regular updates, such as knowledge bases or contact lists when to use it for files that update periodically when you want to manage knowledge separately in a dedicated {{scenario singular lowercase}} when you want to reduce token costs for step by step instructions, see docid\ ha1 tulw54s28ih4stixr manage knowledge use knowledge modules 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 {{scenario plural lowercase}} in three ways in an ai agent {{scenario singular lowercase}} after the make ai agents (new) > run an agent (new) module in an ai agent {{scenario singular lowercase}} as a tool for the make ai agents (new) > run an agent (new) module in a standard {{scenario singular lowercase}} on its own or with other knowledge modules 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 tip to keep costs low, add this module to a separate scenario that manages knowledge 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 agents (new) > run an agent (new) 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 credit usage https //help make com/credits are the currency you buy and consume to use {{product name}} the knowledge app uses credits differently depending on the module and whether a docid\ hh nrtakeqakbmg63uuin or custom ai provider is selected users on all plans can use make's ai provider users on paid plans can also use custom ai provider connections , such as openai and anthropic claude below is a reference for credit usage, by module and ai provider connection type module make's ai provider custom ai provider connection delete knowledge file 1 credit per operation 1 credit per operation update/append knowledge (pdf/docx) 1 credit per operation + 10 tokens per page + credits based on tokens ai tokens for file description generation embedding tokens 1 credit per operation + embedding tokens update/append knowledge (json/csv/txt) 1 credit per operation + credits based on tokens ai tokens for file description generation embedding tokens 1 credit per operation + embedding tokens upload knowledge (pdf/docx) 1 credit per operation + 10 tokens per page + credits based on tokens ai tokens for file description generation embedding tokens 1 credit per operation + embedding tokens upload knowledge (json/csv/txt) 1 credit per operation + credits based on tokens ai tokens for file description generation embedding tokens 1 credit per operation + embedding tokens get knowledge 1 credit per operation 1 credit per operation list knowledge files 1 credit per operation 1 credit per operation query knowledge 1 credit per operation + credits based on embedding tokens 1 credit per operation + credits based on embedding tokens the tokens mentioned above refer to the following token types embedding tokens these tokens are used to convert your knowledge file into a searchable format that your agent can query it involves converting chunks of a file into numbers (vectors) to be stored in a rag vector database the number of tokens used depends on the file size, with larger files using more tokens you are billed for these tokens when you upload a file file description ai tokens (make's ai provider only) these tokens are used to generate a file summary based on the first part of the file when you use make's ai provider, {{product name}} bills you for these tokens if you use a custom ai provider connection, the provider bills you for the tokens you are billed for these tokens each time you upload a file or change a file description