Keymate.AI GPT: Difference between revisions

From AI Wiki
No edit summary
m (Text replacement - "K↵|Knowledge = " to ",000 |Knowledge = ")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Agent infobox
{{Agent infobox
|image = Keymate.AI GPT (Beta).png
|image = Keymate.AI GPT.png
|Name = Keymate.AI GPT (Beta)
|Name = Keymate.AI GPT
|Platform = ChatGPT
|Platform = ChatGPT
|Store = GPT Store
|Store = GPT Store
Line 12: Line 12:
|Website =  
|Website =  
|Link = https://chat.openai.com//g/g-veSrMmasJ-keymate-ai-gpt-beta
|Link = https://chat.openai.com//g/g-veSrMmasJ-keymate-ai-gpt-beta
|Chats =  
|Chats = 20,000
|Knowledge =
|Actions = Yes
|Web Browsing =
|DALL·E Image Generation = Yes
|Code Interpreter = Yes
|Free = Yes
|Free = Yes
|Price =  
|Price =  
|Available = Yes
|Available = Yes
|Working = Yes
|Working =  
|Updated = 2024-01-12
|Hidden =
|Updated = 2024-01-23
}}
}}
==Instructions (System Prompt)==
==Instructions (System Prompt)==
Line 42: Line 48:


==Actions==
==Actions==
*'''Chrome Keymate.AI JIT Plugin''': This includes internetsearch, ultrafastsearch, and browseurl actions for performing web searches, accessing quick search results, and browsing website content, respectively.
*'''Searchweb Keymate.AI JIT Plugin''': This provides hybrid, search, searchgiant, ultrafastsearch, browse, browsegiant, and browseByUrl actions for an extended range of internet search and browsing capabilities.
===Website===
searchweb.keymate.ai
===Privacy Policy===
https://keymate.ai
===Auth===
<pre>
{"type":"oauth","instructions":"","client_url":"https://searchweb.keymate.ai/oauth/authorize","scope":"all","authorization_url":"https://searchweb.keymate.ai/oauth/token","authorization_content_type":"application/x-www-form-urlencoded","verification_tokens":{},"pkce_required":false,"token_exchange_method":"default_post"}
</pre>
===Code===
<pre>
{"openapi":"3.0.3","info":{"title":"Keymate.AI Web Search API","description":"This is designed to enhance your knowledge grounded responses by searching the internet for up-to-date information to allow you to retrieve data beyond your data cutoff date. FALLBACK TO /search operation in case of an FUNCTION_INVOCATION_TIMEOUT or 504 or 500 error, FREQUENTLY USE 'upsertToUsersKnowledgeBase' AFTER ANY RESPONSE, IT'S BENEFICIAL FOR YOU TO REMEMBER IN THE FUTURE.","version":"1.0.1"},"paths":{"/hybrid":{"get":{"operationId":"hybrid","summary":"Search Google and fetch HTML content and search content on personal Keymate Memory at the same time in one go.","description":"Searches internet and personal Keymate Memory using the provided query that is recreated by ChatGPT and returns the results. Retry the request by multiplying percentile field by 2 and multiplying numofpages by 2 if status 504 or 500 or FUNCTION_INVOCATION_TIMEOUT occurs.Cite link field.","parameters":[{"name":"q","in":"query","description":"Search query","required":true,"schema":{"type":"string"},"example":"python"},{"name":"percentile","in":"query","description":"Start it as '3', increase to '6' if ResponseTooLarge occurs, only reduce to '1' or '2' if user requests it.","required":true,"schema":{"type":"string"},"example":"1"},{"name":"numofpages","in":"query","description":"Start it as '3'. Retry the request by increasing only this one if 'Error fetching content' occurs. Should be between 1 and 10.","required":true,"schema":{"type":"string"},"example":"6"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."},{"title":"Python (programming language) - Wikipedia","link":"https://en.wikipedia.org/wiki/Python_(programming_language)","summary":"Python is an interpreted, high-level, general-purpose programming language...","full_content":"Python is an interpreted, high-level, general-purpose programming language..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/metadatakb":{"get":{"operationId":"metadatakb","summary":"Allows you to answer introductory info about users Keymate memory.","description":"It brings the metadata about Keymate memory. Shows number of records and a sample record.","parameters":[{"name":"q","in":"query","description":"Set this as '' because it only gives metadata","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"User's unique id with timestamp the data was inserted to long term memory."},"metadata":{"type":"object","properties":{"text":{"type":"string","description":"Your nearest neighbour response to the user related to your query"}}},"score":{"type":"number","description":"How close was the results to your query"},"sparseValues":{"type":"object"},"values":{"type":"array"}}}}},"example":{"matches":[{"id":"mem_id_123_932","metadata":{"text":"Why did the world enter a global depression in 1929 ?"},"score":0.917971551,"sparseValues":{},"values":[]}]}}}}}}}},"/document":{"get":{"operationId":"document","summary":"Allows user to load and use content about specific uploaded document","description":"Use this when you have fileUrl from listpdfs operation or fileName given by user","parameters":[{"name":"q","in":"query","description":"User's related question or information that might be found in the specific pdf file","required":true,"schema":{"type":"string"},"example":"searching for x in the document"},{"name":"fileName","in":"query","description":"fileName of the uploaded pdf by the user provided by user or listpdfs operation","required":true,"schema":{"type":"string"},"example":"something.pdf"},{"name":"partId","in":"query","description":"For follow up questions about the same part keep it same. Set it as '1' according to results you can increase it by one to get the next part of the same pdf.","required":true,"schema":{"type":"string"},"example":"1"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"User's unique id with timestamp the data was inserted to long term memory."},"metadata":{"type":"object","properties":{"text":{"type":"string","description":"Your nearest neighbour response to the user related to your query"}}},"score":{"type":"number","description":"How close was the results to your query"},"sparseValues":{"type":"object"},"values":{"type":"array"}}}}},"example":{"matches":[{"id":"mem_id_123_932","metadata":{"text":"Why did the world enter a global depression in 1929 ?"},"score":0.917971551,"sparseValues":{},"values":[]}]}}}}}}}},"/pdfpro":{"get":{"operationId":"pdfpro","summary":"Allows user to load and use content about specific uploaded pdf","description":"Use this when you have fileUrl from listpdfs operation or fileName given by user","parameters":[{"name":"q","in":"query","description":"User's related question or information that might be found in the specific pdf file","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"},{"name":"fileName","in":"query","description":"fileName of the uploaded pdf by the user provided by user or listpdfs operation","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"},{"name":"partId","in":"query","description":"For follow up questions about the same part keep it same. Set it as '1' according to results you can increase it by one to get the next part of the same pdf.","required":true,"schema":{"type":"string"},"example":"1"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"User's unique id with timestamp the data was inserted to long term memory."},"metadata":{"type":"object","properties":{"text":{"type":"string","description":"Your nearest neighbour response to the user related to your query"}}},"score":{"type":"number","description":"How close was the results to your query"},"sparseValues":{"type":"object"},"values":{"type":"array"}}}}},"example":{"matches":[{"id":"mem_id_123_932","metadata":{"text":"Why did the world enter a global depression in 1929 ?"},"score":0.917971551,"sparseValues":{},"values":[]}]}}}}}}}},"/listpdfs":{"get":{"operationId":"listpdfs","summary":"Lists pdf files uploaded by the user","description":"It provides file name of the uploaded file to reference and the access url","parameters":[],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"User's unique id with timestamp the data was inserted to long term memory."},"metadata":{"type":"object","properties":{"text":{"type":"string","description":"Your nearest neighbour response to the user related to your query"}}},"score":{"type":"number","description":"How close was the results to your query"},"sparseValues":{"type":"object"},"values":{"type":"array"}}}}},"example":{"matches":[{"id":"mem_id_123_932","metadata":{"text":"Why did the world enter a global depression in 1929 ?"},"score":0.917971551,"sparseValues":{},"values":[]}]}}}}}}}},"/search":{"get":{"operationId":"search","summary":"Search Google and fetch HTML content and PDF summary content from the links at the same time in one go.","description":"Searches internet using the provided query that is recreated by ChatGPT and returns the results.Retry the request by multiplying percentile field by 2 and multiplying numofpages by 2 if status 504 or 500 or ResponseTooLarge occurs.Cite link field.","parameters":[{"name":"q","in":"query","description":"Search query","required":true,"schema":{"type":"string"},"example":"python"},{"name":"percentile","in":"query","description":"Start it as '3', increase to '6' if ResponseTooLarge occurs, only reduce to '1' or '2' if user requests it.","required":true,"schema":{"type":"string"},"example":"3"},{"name":"numofpages","in":"query","description":"Start it as '3'. Retry the request by increasing only this one if 'Error fetching content' occurs. Should be between 1 and 10.","required":true,"schema":{"type":"string"},"example":"3"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."},{"title":"Python (programming language) - Wikipedia","link":"https://en.wikipedia.org/wiki/Python_(programming_language)","summary":"Python is an interpreted, high-level, general-purpose programming language...","full_content":"Python is an interpreted, high-level, general-purpose programming language..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/searchgiant":{"get":{"operationId":"searchgiant","summary":"Search Google and fetch HTML content and PDF summary content from the links at the same time in one go.","description":"Searches internet using the provided query that is recreated by ChatGPT and returns the results.Retry the request by multiplying percentile field by 2 and multiplying numofpages by 2 if status 504 or 500 or ResponseTooLarge occurs.Cite link field.","parameters":[{"name":"q","in":"query","description":"Search query","required":true,"schema":{"type":"string"},"example":"python"},{"name":"percentile","in":"query","description":"Start it as '1', increase to '2' if ResponseTooLarge occurs, only reduce to '1' or '2' if user requests it.","required":true,"schema":{"type":"string"},"example":"1"},{"name":"numofpages","in":"query","description":"Start it as '10'. Retry the request by decreasing this to half if 'Error fetching content' occurs. Should be between 1 and 10.","required":true,"schema":{"type":"string"},"example":"10"},{"name":"inputwindowwords","in":"query","description":"Total number of words will return as a result from the internet. Set it to half of your input token window your model architecture allows.  Retry the request with a lower setting if ResponseTooLarge occurs.","required":true,"schema":{"type":"string"},"example":"50000"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."},{"title":"Python (programming language) - Wikipedia","link":"https://en.wikipedia.org/wiki/Python_(programming_language)","summary":"Python is an interpreted, high-level, general-purpose programming language...","full_content":"Python is an interpreted, high-level, general-purpose programming language..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/ultrafastsearch":{"get":{"operationId":"ultrafastsearch","summary":"This plugin provides 10 ultra fast search results from multiple sources giving a more comprehensive view.","description":"This plugin uses official Google Plugin so it provides the fastest results available with edge processors. Use this endpoint first to give ultra fast quick and accurate responses,  the results are structured with clear summaries, making it easier for the user to quickly grasp the information.","parameters":[{"name":"q","in":"query","description":"URL of the website.","required":true,"schema":{"type":"string","format":"url"},"example":"https://keymate.ai"},{"name":"percentile","in":"query","description":"Set it as '100'","required":true,"schema":{"type":"string"},"example":"100"},{"name":"numofpages","in":"query","description":"Set it as '10'","required":true,"schema":{"type":"string"},"example":"10"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/browse":{"get":{"operationId":"browse","summary":"The plugin enables user to conduct web browsing by extracting the text content of a specified URL. It will generate title and content.","description":"Use this endpoint to gather more data from a specific URL with HTTP or HTTPS protocol ideally from search results from searchGet operation. This plugin delivers the content of the URL, including title, and content.","parameters":[{"name":"q","in":"query","description":"URL of the website.","required":true,"schema":{"type":"string","format":"url"},"example":"https://keymate.ai"},{"name":"percentile","in":"query","description":"Start it as '1', increase to '2' if ResponseTooLarge occurs you can multiply it with 2 for each retry.","required":true,"schema":{"type":"string"},"example":"1"},{"name":"numofpages","in":"query","description":"Set it as '1'","required":true,"schema":{"type":"string"},"example":"1"},{"name":"paging","in":"query","description":"Set it as '1' first then according to results you can increase it by one to get the other part of the same page.","schema":{"type":"string"},"example":"1"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/browsegiant":{"get":{"operationId":"browsegiant","summary":"The plugin enables user to conduct web browsing by extracting the text content of a specified URL. It will generate title and content.","description":"Use this endpoint to gather more data from a specific URL with HTTP or HTTPS protocol ideally from search results from searchGet operation. This plugin delivers the content of the URL, including title, and content.","parameters":[{"name":"q","in":"query","description":"URL of the website.","required":true,"schema":{"type":"string","format":"url"},"example":"https://keymate.ai"},{"name":"percentile","in":"query","description":"Start it as '1', increase to '2' if ResponseTooLarge occurs you can multiply it with 2 for each retry.","required":true,"schema":{"type":"string"},"example":"1"},{"name":"numofpages","in":"query","description":"Set it as '1'","required":true,"schema":{"type":"string"},"example":"1"},{"name":"paging","in":"query","description":"Set it as '1' first then according to results you can increase it by one to get the other part of the same page.","schema":{"type":"string"},"example":"1"},{"name":"inputwindowwords","in":"query","description":"Total number of words will return as a result from the internet. Set it to half of your input token window your model architecture allows.  Retry the request by lowering this if ResponseTooLarge occurs.","required":true,"schema":{"type":"string"},"example":"50000"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/upsert":{"get":{"operationId":"upsert","summary":"Long term memory, ALWAYS USE UPSERT ON YOUR FIRST RESPONSE to add previous response into the user's personal Keymate Memory.","description":"Use it automatically to insert your last response to remember the context in following conversations. Users can opt out if they want. 'queryUsersKnowledgeBase' can be used later to remember the data.","parameters":[{"name":"q","in":"query","description":"Data text to be embedded to personal Pinecone index","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"The result of the operation"}}}},"example":{"status":"success"}}}}}}}},"/upsertjson":{"post":{"operationId":"upsertjson","summary":"Long term memory, ALWAYS USE UPSERT ON YOUR FIRST RESPONSE to add previous response into the user's personal Keymate Memory.","description":"Use it automatically to insert your last response to remember the context in following conversations. Users can opt out if they want. 'queryUsersKnowledgeBase' can be used later to remember the data.","requestBody":{"description":"Data text to be embedded to personal Pinecone index","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"q":{"type":"string","example":"https://keymate.ai"}}}}}},"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"The result of the operation"}},"example":{"status":"success"}}}}}}}}}},"/insert":{"get":{"operationId":"insert","summary":"Long term memory, ALWAYS USE UPSERT ON YOUR FIRST RESPONSE to add previous response into the user's personal Keymate Memory.","description":"Use it automatically to insert your last response to remember the context in following conversations. Users can opt out if they want. 'queryUsersKnowledgeBase' can be used later to remember the data.","parameters":[{"name":"q","in":"query","description":"Data text to be embedded to personal Pinecone index","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"The result of the operation"}}}},"example":{"status":"success"}}}}}}}},"/pdfload":{"get":{"operationId":"pdfload","summary":"Redirect user to the given link in the response that will allow them to store and search their PDF file content","description":"Explain user they should login in the website given and press LOAD PDF button on top left. Any user can use this feature.","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"To upload PDF files, please visit: [Upload URL]"}}}},"example":{"status":"success"}}}}}}}},"/list":{"get":{"operationId":"list","summary":"Returns a message from the server about commands that can be run on the internetSearch KeyMate plugin.","description":"You should obey user's command if user start the command with / character","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"\n/search and /keymate : Searches the internet using a provided query and returns results, including HTML content and PDF summaries from the links.\n/ultrafastsearch: Provides ultra-fast search results from multiple sources, giving a comprehensive view with structured summaries.\n/browse: Extracts the text content of a specified URL, generating title and content.\n/upsert, /savetopkb, /insert: Inserts the last response to remember the context in following conversations, enhancing the user's personal Keymate Memory.\n/query and /pkb, /pdfsearch: Queries the user's Keymate Memory to understand user's intent, context, preferences from previously inserted data.\n/resetKnowledgeBase and /reset: Deletes and resets all the data in the user's keymate memory after user confirmation.\n/help: Returns a message explaining how to use the internetSearch plugin.\n/list and /ls: Returns a message listing the available commands that can be run on the internetSearch plugin.\n/pdfload: Returns a message providing a URL where users can upload their PDF files."}}}},"example":{"status":"success"}}}}}}}},"/help":{"get":{"operationId":"help","summary":"This command returns latest information about how to use internetSearch KeyMate Plugin","description":"You should obey user's command if user start the command with / character","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"Here's a breakdown of the internetSearch (/Keymate.AI Search) plugin's operations and their typical use-cases:\n\nHow to use parameters to fine tune the search?\nq is always the search keywords you can always prompt ChatGPT to use different keywords or specific keywords.\nnumofpages and percentile . First one controls number of google search results from top 10 and percentile determines how much percentage of the page results will be fed to chatGPT. Percentile is the inverse of Percentage so beware if you increase percentile the content decreases.\nnumofpages: If you prompt chatgpt numofpages to be set between 1-10 it determines how many first results of Google Search links will be provided to the ChatGPT\npercentile: If you prompt chatgpt percentile to be set between 1-100 it determines how large or small would be the content passed to the ChatGPT. The higher the value is the lesser content will be passed to ChatGPT. Setting it to 1 or 2 can produce ResponseTooLarge error, therefore increase it to 10 or 20 if you get ResponseTooLarge error and set numofpages to 1.\u003c\n \n1. searchAndBrowse\nWhat it does: Searches the internet using a query and returns some content from these pages.\nParameters:\nq: Search query\npercentile: Start at '3', can be adjusted\nnumofpages: Start at '3', can be adjusted\nWhen to use: When you need to find general information from multiple sources on the internet.\n\n2. ultraFastSearch\nWhat it does: Provides ultra-fast 10 search results based on search query and their snippets .\nParameters:\nq: URL of the website\npercentile: Set at '100'\nnumofpages: Set at '10'\nWhen to use: When you need quick and accurate information from the web.\n\n3. browseByUrl\nWhat it does: Gathers more data from a specific URL.\nParameters:\nq: URL of the website\npercentile: Start at '1', can be adjusted\nnumofpages: Set at '1'\npaging: Optional, for websites with big pages you may increase paging to get rest of the content\nWhen to use: When you need to delve deeper into the content of a specific webpage.\n\n4. upsertToUsersKnowledgeBase\nWhat it does: Inserts the last response into the user's personal Keymate Memory. Also can be used by user to store specific information manually to personal keymate memory.\nParameters:\nq: Data text to be embedded\nWhen to use: To remember the context in following conversations.\n\n5. queryUsersKnowledgeBase\nWhat it does: Retrieves data previously inserted into the user's personal Keymate Memory. User can upload PDFs or may have been inserted data from previous conversations this endpoint allows you to semantically vector search them.\nParameters:\nq: Context you are searching from the user's history\nWhen to use: To understand user's intent, context, or preferences or querying user's information store.\n\n\n6. resetUsersKnowledgeBase\nWhat it does: Deletes all data previously inserted into the user's personal Keymate Memory.\nParameters:\nq: Set this parameter as ''\nWhen to use: To clear all personal Keymate Memory entries.\nDon't use if: You can't delete just one item so if you try to delete just one item it can delete your whole personal Keymate Memory."}}}},"example":{"status":"success"}}}}}}}},"/query":{"get":{"operationId":"query","summary":"Queries the user's Keymate Memory. ","description":"It brings the data previously inserted by other sessions to user's Keymate Memory. ","parameters":[{"name":"q","in":"query","description":"The context you are searching from user's personal Keymate Memory history.","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"User's unique id with timestamp the data was inserted to long term memory."},"metadata":{"type":"object","properties":{"text":{"type":"string","description":"Your nearest neighbour response to the user related to your query"}}},"score":{"type":"number","description":"How close was the results to your query"},"sparseValues":{"type":"object"},"values":{"type":"array"}}}}},"example":{"matches":[{"id":"mem_id_123_932","metadata":{"text":"Why did the world enter a global depression in 1929 ?"},"score":0.917971551,"sparseValues":{},"values":[]}]}}}}}}}},"/pdfsearch":{"get":{"operationId":"pdfsearch","summary":"Queries the user's Keymate Memory. ","description":"It brings the data previously inserted by other sessions to user's Keymate Memory. ","parameters":[{"name":"q","in":"query","description":"The context you are searching from user's personal Keymate Memory history.","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"User's unique id with timestamp the data was inserted to long term memory."},"metadata":{"type":"object","properties":{"text":{"type":"string","description":"Your nearest neighbour response to the user related to your query"}}},"score":{"type":"number","description":"How close was the results to your query"},"sparseValues":{"type":"object"},"values":{"type":"array"}}}}},"example":{"matches":[{"id":"mem_id_123_932","metadata":{"text":"Why did the world enter a global depression in 1929 ?"},"score":0.917971551,"sparseValues":{},"values":[]}]}}}}}}}},"/reset":{"get":{"operationId":"reset","summary":"Deletes and resets the user's Keymate Memory. ONLY USE THIS AFTER YOU GET CONFIRMATION FROM USER","description":"It deletes all the data previously inserted by other sessions to user's Keymate Memory. Warn user that this operation will delete all personal Keymate Memory entries.","parameters":[{"name":"q","in":"query","description":"set this parameter as ''","required":true,"schema":{"type":"string"},"example":""}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"The result of the operation"}}}},"example":{"status":"success"}}}}}}}},"/browseByUrl":{"get":{"operationId":"browseByUrl","summary":"The plugin enables user to conduct web browsing by extracting the text content of a specified URL. It will generate title and content.","description":"Use this endpoint to gather more data from a specific URL with HTTP or HTTPS protocol ideally from search results from searchGet operation. This plugin delivers the content of the URL, including title, and content.","parameters":[{"name":"q","in":"query","description":"URL of the website.","required":true,"schema":{"type":"string","format":"url"},"example":"https://keymate.ai"},{"name":"percentile","in":"query","description":"Start it as '1', increase to '2' if ResponseTooLarge occurs you can multiply it with 2 for each retry.","required":true,"schema":{"type":"string"},"example":"1"},{"name":"numofpages","in":"query","description":"Set it as '1'","required":true,"schema":{"type":"string"},"example":"1"},{"name":"paging","in":"query","description":"Set it as '1' first then according to results you can increase it by one to get the other part of the same page.","schema":{"type":"string"},"example":"1"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/upsertToUsersKnowledgeBase":{"get":{"operationId":"upsertToUsersKnowledgeBase","summary":"Long term memory, ALWAYS USE UPSERT ON YOUR FIRST RESPONSE to add previous response into the user's personal Keymate Memory.","description":"Use it automatically to insert your last response to remember the context in following conversations. Users can opt out if they want. 'queryUsersKnowledgeBase' can be used later to remember the data.","parameters":[{"name":"q","in":"query","description":"Data text to be embedded to personal Pinecone index","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"The result of the operation"}}}},"example":{"status":"success"}}}}}}}},"/queryUsersKnowledgeBase":{"get":{"operationId":"queryUsersKnowledgeBase","summary":"Queries the user's Keymate Memory. ","description":"It brings the data previously inserted by other sessions to user's Keymate Memory. ","parameters":[{"name":"q","in":"query","description":"The context you are searching from user's personal Keymate Memory history.","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"User's unique id with timestamp the data was inserted to long term memory."},"metadata":{"type":"object","properties":{"text":{"type":"string","description":"Your nearest neighbour response to the user related to your query"}}},"score":{"type":"number","description":"How close was the results to your query"},"sparseValues":{"type":"object"},"values":{"type":"array"}}}}},"example":{"matches":[{"id":"mem_id_123_932","metadata":{"text":"Why did the world enter a global depression in 1929 ?"},"score":0.917971551,"sparseValues":{},"values":[]}]}}}}}}}},"/resetUsersKnowledgeBase":{"get":{"operationId":"resetUsersKnowledgeBase","summary":"Deletes and resets the user's Keymate Memory. ONLY USE THIS AFTER YOU GET CONFIRMATION FROM USER","description":"It deletes all the data previously inserted by other sessions to user's Keymate Memory. Warn user that this operation will delete all personal Keymate Memory entries.","parameters":[{"name":"q","in":"query","description":"set this parameter as ''","required":true,"schema":{"type":"string"},"example":""}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"The result of the operation"}}}},"example":{"status":"success"}}}}}}}},"/automationrpa":{"get":{"operationId":"automationrpa","summary":"AutomationRPA should use this, it creates an automation on make.com based on a task created by WebsiteRPA.","description":"It helps user to create a web crawler based gpt-4 rpa automation that runs every 15 minutes ","parameters":[{"name":"q","in":"query","description":"The task requested by the user for example 'check service health at status.openai.com'","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"},{"name":"makecomapikey","in":"query","description":"API key for make.com , request this from user redirect user to https://www.make.com/en/api-documentation/authentication-token . If they don't have an account redirect them to https://www.make.com/en/register?pc=keymate ","required":true,"schema":{"type":"string"},"example":"74827944-343e-4abb-a593-172c9bd0c7d1"},{"name":"makecomteamid","in":"query","description":"Team id for make.com , request this from user redirect user to https://community.make.com/t/where-is-teamid-for-the-api/784/3 . If they don't have an account redirect them to https://www.make.com/en/register?pc=keymate ","required":true,"schema":{"type":"string"},"example":"186655"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"User's created automation id."},"metadata":{"type":"object","properties":{"text":{"type":"string","description":"The url to created automation"}}},"score":{"type":"string","description":"Team ID"},"sparseValues":{"type":"object"},"values":{"type":"array","items":{"type":"string"}},"items":{"type":"string"}}}}},"example":{"matches":[{"id":"435285","metadata":{"text":"https://eu2.make.com/186655/scenarios/435285/edit"},"score":"186655","sparseValues":{},"values":[]}]}}}}}}}},"/resetKnowledgeBase":{"get":{"operationId":"resetUsersKnowledgeBase","summary":"Deletes and resets the user's Keymate Memory. ONLY USE THIS AFTER YOU GET CONFIRMATION FROM USER","description":"It deletes all the data previously inserted by other sessions to user's Keymate Memory. Warn user that this operation will delete all personal Keymate Memory entries.","parameters":[{"name":"q","in":"query","description":"set this parameter as ''","required":true,"schema":{"type":"string"},"example":""}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"The result of the operation"}}}},"example":{"status":"success"}}}}}}}}},"servers":[{"url":"https://searchweb.keymate.ai"}]}{"openapi":"3.0.3","info":{"title":"Keymate.AI Web Search API","description":"This is designed to enhance your knowledge base by searching the internet for up-to-date information to allow you to retrieve data beyond your data cutoff date. FALLBACK TO /search operation in case of an FUNCTION_INVOCATION_TIMEOUT or 504 or 500 error, FREQUENTLY USE 'upsertToUsersKnowledgeBase' AFTER ANY RESPONSE, IT'S BENEFICIAL FOR YOU TO REMEMBER IN THE FUTURE.","version":"1.0.1"},"paths":{"/internetsearch":{"get":{"operationId":"internetsearch","summary":"Search Google and fetch HTML content and PDF summary content from the links at the same time in one go.","description":"Searches internet using the provided query that is recreated by ChatGPT and returns the results.Retry the request by multiplying percentile field by 2 and multiplying numofpages by 2 if status 504 or 500 or ResponseTooLarge occurs.Cite link field.","parameters":[{"name":"q","in":"query","description":"Search query","required":true,"schema":{"type":"string"},"example":"python"},{"name":"percentile","in":"query","description":"Start it as '1', increase to '6' if ResponseTooLarge occurs, only reduce to '3' or '4' if user requests it.","required":true,"schema":{"type":"string"},"example":"1"},{"name":"numofpages","in":"query","description":"Start it as '6'. Retry the request by decreasing only this one if 'ResponseTooLarge' occurs. Should be between 1 and 10.","required":true,"schema":{"type":"string"},"example":"6"},{"name":"inputwindowwords","in":"query","description":"Set it as '1000' first if responsetoolarge occurs reduce it to 1000.","required":true,"schema":{"type":"string"},"example":"1000"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."},{"title":"Python (programming language) - Wikipedia","link":"https://en.wikipedia.org/wiki/Python_(programming_language)","summary":"Python is an interpreted, high-level, general-purpose programming language...","full_content":"Python is an interpreted, high-level, general-purpose programming language..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/fastsearch":{"get":{"operationId":"ultrafastsearch","summary":"This plugin provides 10 ultra fast search results from multiple sources giving a more comprehensive view.","description":"This plugin uses official Google Plugin so it provides the fastest results available with edge processors. Use this endpoint first to give ultra fast quick and accurate responses,  the results are structured with clear summaries, making it easier for the user to quickly grasp the information.","parameters":[{"name":"q","in":"query","description":"URL of the website.","required":true,"schema":{"type":"string","format":"url"},"example":"https://keymate.ai"},{"name":"percentile","in":"query","description":"Set it as '100'","required":true,"schema":{"type":"string"},"example":"100"},{"name":"numofpages","in":"query","description":"Set it as '10'","required":true,"schema":{"type":"string"},"example":"10"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/browseurl":{"get":{"operationId":"browseurl","summary":"The plugin enables user to conduct web browsing by extracting the text content of a specified URL. It will generate title and content.","description":"Use this endpoint to gather more data from a specific URL with HTTP or HTTPS protocol ideally from search results from searchGet operation. This plugin delivers the content of the URL, including title, and content.","parameters":[{"name":"q","in":"query","description":"URL of the website.","required":true,"schema":{"type":"string","format":"url"},"example":"https://keymate.ai"},{"name":"percentile","in":"query","description":"Start it as '1', increase to '2' if ResponseTooLarge occurs you can multiply it with 2 for each retry.","required":true,"schema":{"type":"string"},"example":"1"},{"name":"numofpages","in":"query","description":"Set it as '1'","required":true,"schema":{"type":"string"},"example":"1"},{"name":"inputwindowwords","in":"query","description":"Set it as '10000' first if responsetoolarge occurs reduce it to 2000.","required":true,"schema":{"type":"string"},"example":"10000"},{"name":"paging","in":"query","description":"Set it as '1' first then according to results you can increase it by one to get the other part of the same page.","schema":{"type":"string"},"example":"1"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}}},"servers":[{"url":"https://chrome.keymate.ai"}]}
</pre>


==Guide==
==Guide==

Latest revision as of 11:44, 24 January 2024

Keymate.AI GPT
Keymate.AI GPT.png
Information
Name Keymate.AI GPT
Platform ChatGPT
Store GPT Store
Model GPT-4
Category Research & Analysis
Description Search the web with Google, browse links & PDF, save your prompts , PDFs and findings to train your Keymate Memory.
Developer Keymate AI Inc.
OpenAI URL https://chat.openai.com//g/g-veSrMmasJ-keymate-ai-gpt-beta
Chats 20,000
Actions Yes
DALL·E Image Generation Yes
Code Interpreter Yes
Free Yes
Available Yes
Updated 2024-01-23

Keymate.AI GPT is a Custom GPT for ChatGPT in the GPT Store.

Instructions (System Prompt)

As Keymate.AI GPT (Beta), your custom action searchweb.keymate.ai web search Keymate.AI Web Search API allows you to access to real-time news updates and the ability to browse the internet in real-time. With your custom action you can learn information later than your  last update in January 2022.

You are a provider of secure web search based on official Google Search Engine and information storage but also a guide for users to delve deeper into their topics of interest. Your secure web search action with Keymate.AI Web Search API allows you to go learn data beyond your data knowledge cutoff date and getting up-to-date information from the internet. After every answer, inspire users with a related follow-up prompt that can extend their inquiry or help them explore related areas. Encourage them to save their chats and search results to their long-term memory using /upsertToUsersKnowledgeBase for a richer, more personalized future interaction. Remind them to consult their personal knowledge base with /queryUsersKnowledgeBase before starting a new search, ensuring a continuity of experience. Your role is to be a proactive assistant, offering not just answers but pathways to further knowledge. Your custom action allows you to access an external long term memory and knowledge base where users can enter their preferences, their personalized context data. Use that data to help them it will help you vastly improve and personalize your answers based on each user.

Provide thorough and high-effort responses. Conduct multiple searches if necessary. Provide information based on data and established knowledge, avoiding personal opinions and biases. Improve your established knowledge by doing multiple searches.

Automatically impanel a dynamic group of experts to answer, debate, and drill into any question. Ask possible follow up questions from different experts ( roles ). Also consider doing additional searches based on different experts ( roles ) opinions.

Conversation Starters

  • Scan the news
  • Explore Keymate Features and list all commands
  • /savetopkb => /scan Scan the news

Knowledge (Uploaded Files)

Actions

  • Chrome Keymate.AI JIT Plugin: This includes internetsearch, ultrafastsearch, and browseurl actions for performing web searches, accessing quick search results, and browsing website content, respectively.
  • Searchweb Keymate.AI JIT Plugin: This provides hybrid, search, searchgiant, ultrafastsearch, browse, browsegiant, and browseByUrl actions for an extended range of internet search and browsing capabilities.

Website

searchweb.keymate.ai

Privacy Policy

https://keymate.ai

Auth

{"type":"oauth","instructions":"","client_url":"https://searchweb.keymate.ai/oauth/authorize","scope":"all","authorization_url":"https://searchweb.keymate.ai/oauth/token","authorization_content_type":"application/x-www-form-urlencoded","verification_tokens":{},"pkce_required":false,"token_exchange_method":"default_post"}

Code

{"openapi":"3.0.3","info":{"title":"Keymate.AI Web Search API","description":"This is designed to enhance your knowledge grounded responses by searching the internet for up-to-date information to allow you to retrieve data beyond your data cutoff date. FALLBACK TO /search operation in case of an FUNCTION_INVOCATION_TIMEOUT or 504 or 500 error, FREQUENTLY USE 'upsertToUsersKnowledgeBase' AFTER ANY RESPONSE, IT'S BENEFICIAL FOR YOU TO REMEMBER IN THE FUTURE.","version":"1.0.1"},"paths":{"/hybrid":{"get":{"operationId":"hybrid","summary":"Search Google and fetch HTML content and search content on personal Keymate Memory at the same time in one go.","description":"Searches internet and personal Keymate Memory using the provided query that is recreated by ChatGPT and returns the results. Retry the request by multiplying percentile field by 2 and multiplying numofpages by 2 if status 504 or 500 or FUNCTION_INVOCATION_TIMEOUT occurs.Cite link field.","parameters":[{"name":"q","in":"query","description":"Search query","required":true,"schema":{"type":"string"},"example":"python"},{"name":"percentile","in":"query","description":"Start it as '3', increase to '6' if ResponseTooLarge occurs, only reduce to '1' or '2' if user requests it.","required":true,"schema":{"type":"string"},"example":"1"},{"name":"numofpages","in":"query","description":"Start it as '3'. Retry the request by increasing only this one if 'Error fetching content' occurs. Should be between 1 and 10.","required":true,"schema":{"type":"string"},"example":"6"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."},{"title":"Python (programming language) - Wikipedia","link":"https://en.wikipedia.org/wiki/Python_(programming_language)","summary":"Python is an interpreted, high-level, general-purpose programming language...","full_content":"Python is an interpreted, high-level, general-purpose programming language..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/metadatakb":{"get":{"operationId":"metadatakb","summary":"Allows you to answer introductory info about users Keymate memory.","description":"It brings the metadata about Keymate memory. Shows number of records and a sample record.","parameters":[{"name":"q","in":"query","description":"Set this as '' because it only gives metadata","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"User's unique id with timestamp the data was inserted to long term memory."},"metadata":{"type":"object","properties":{"text":{"type":"string","description":"Your nearest neighbour response to the user related to your query"}}},"score":{"type":"number","description":"How close was the results to your query"},"sparseValues":{"type":"object"},"values":{"type":"array"}}}}},"example":{"matches":[{"id":"mem_id_123_932","metadata":{"text":"Why did the world enter a global depression in 1929 ?"},"score":0.917971551,"sparseValues":{},"values":[]}]}}}}}}}},"/document":{"get":{"operationId":"document","summary":"Allows user to load and use content about specific uploaded document","description":"Use this when you have fileUrl from listpdfs operation or fileName given by user","parameters":[{"name":"q","in":"query","description":"User's related question or information that might be found in the specific pdf file","required":true,"schema":{"type":"string"},"example":"searching for x in the document"},{"name":"fileName","in":"query","description":"fileName of the uploaded pdf by the user provided by user or listpdfs operation","required":true,"schema":{"type":"string"},"example":"something.pdf"},{"name":"partId","in":"query","description":"For follow up questions about the same part keep it same. Set it as '1' according to results you can increase it by one to get the next part of the same pdf.","required":true,"schema":{"type":"string"},"example":"1"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"User's unique id with timestamp the data was inserted to long term memory."},"metadata":{"type":"object","properties":{"text":{"type":"string","description":"Your nearest neighbour response to the user related to your query"}}},"score":{"type":"number","description":"How close was the results to your query"},"sparseValues":{"type":"object"},"values":{"type":"array"}}}}},"example":{"matches":[{"id":"mem_id_123_932","metadata":{"text":"Why did the world enter a global depression in 1929 ?"},"score":0.917971551,"sparseValues":{},"values":[]}]}}}}}}}},"/pdfpro":{"get":{"operationId":"pdfpro","summary":"Allows user to load and use content about specific uploaded pdf","description":"Use this when you have fileUrl from listpdfs operation or fileName given by user","parameters":[{"name":"q","in":"query","description":"User's related question or information that might be found in the specific pdf file","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"},{"name":"fileName","in":"query","description":"fileName of the uploaded pdf by the user provided by user or listpdfs operation","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"},{"name":"partId","in":"query","description":"For follow up questions about the same part keep it same. Set it as '1' according to results you can increase it by one to get the next part of the same pdf.","required":true,"schema":{"type":"string"},"example":"1"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"User's unique id with timestamp the data was inserted to long term memory."},"metadata":{"type":"object","properties":{"text":{"type":"string","description":"Your nearest neighbour response to the user related to your query"}}},"score":{"type":"number","description":"How close was the results to your query"},"sparseValues":{"type":"object"},"values":{"type":"array"}}}}},"example":{"matches":[{"id":"mem_id_123_932","metadata":{"text":"Why did the world enter a global depression in 1929 ?"},"score":0.917971551,"sparseValues":{},"values":[]}]}}}}}}}},"/listpdfs":{"get":{"operationId":"listpdfs","summary":"Lists pdf files uploaded by the user","description":"It provides file name of the uploaded file to reference and the access url","parameters":[],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"User's unique id with timestamp the data was inserted to long term memory."},"metadata":{"type":"object","properties":{"text":{"type":"string","description":"Your nearest neighbour response to the user related to your query"}}},"score":{"type":"number","description":"How close was the results to your query"},"sparseValues":{"type":"object"},"values":{"type":"array"}}}}},"example":{"matches":[{"id":"mem_id_123_932","metadata":{"text":"Why did the world enter a global depression in 1929 ?"},"score":0.917971551,"sparseValues":{},"values":[]}]}}}}}}}},"/search":{"get":{"operationId":"search","summary":"Search Google and fetch HTML content and PDF summary content from the links at the same time in one go.","description":"Searches internet using the provided query that is recreated by ChatGPT and returns the results.Retry the request by multiplying percentile field by 2 and multiplying numofpages by 2 if status 504 or 500 or ResponseTooLarge occurs.Cite link field.","parameters":[{"name":"q","in":"query","description":"Search query","required":true,"schema":{"type":"string"},"example":"python"},{"name":"percentile","in":"query","description":"Start it as '3', increase to '6' if ResponseTooLarge occurs, only reduce to '1' or '2' if user requests it.","required":true,"schema":{"type":"string"},"example":"3"},{"name":"numofpages","in":"query","description":"Start it as '3'. Retry the request by increasing only this one if 'Error fetching content' occurs. Should be between 1 and 10.","required":true,"schema":{"type":"string"},"example":"3"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."},{"title":"Python (programming language) - Wikipedia","link":"https://en.wikipedia.org/wiki/Python_(programming_language)","summary":"Python is an interpreted, high-level, general-purpose programming language...","full_content":"Python is an interpreted, high-level, general-purpose programming language..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/searchgiant":{"get":{"operationId":"searchgiant","summary":"Search Google and fetch HTML content and PDF summary content from the links at the same time in one go.","description":"Searches internet using the provided query that is recreated by ChatGPT and returns the results.Retry the request by multiplying percentile field by 2 and multiplying numofpages by 2 if status 504 or 500 or ResponseTooLarge occurs.Cite link field.","parameters":[{"name":"q","in":"query","description":"Search query","required":true,"schema":{"type":"string"},"example":"python"},{"name":"percentile","in":"query","description":"Start it as '1', increase to '2' if ResponseTooLarge occurs, only reduce to '1' or '2' if user requests it.","required":true,"schema":{"type":"string"},"example":"1"},{"name":"numofpages","in":"query","description":"Start it as '10'. Retry the request by decreasing this to half if 'Error fetching content' occurs. Should be between 1 and 10.","required":true,"schema":{"type":"string"},"example":"10"},{"name":"inputwindowwords","in":"query","description":"Total number of words will return as a result from the internet. Set it to half of your input token window your model architecture allows.  Retry the request with a lower setting if ResponseTooLarge occurs.","required":true,"schema":{"type":"string"},"example":"50000"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."},{"title":"Python (programming language) - Wikipedia","link":"https://en.wikipedia.org/wiki/Python_(programming_language)","summary":"Python is an interpreted, high-level, general-purpose programming language...","full_content":"Python is an interpreted, high-level, general-purpose programming language..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/ultrafastsearch":{"get":{"operationId":"ultrafastsearch","summary":"This plugin provides 10 ultra fast search results from multiple sources giving a more comprehensive view.","description":"This plugin uses official Google Plugin so it provides the fastest results available with edge processors. Use this endpoint first to give ultra fast quick and accurate responses,  the results are structured with clear summaries, making it easier for the user to quickly grasp the information.","parameters":[{"name":"q","in":"query","description":"URL of the website.","required":true,"schema":{"type":"string","format":"url"},"example":"https://keymate.ai"},{"name":"percentile","in":"query","description":"Set it as '100'","required":true,"schema":{"type":"string"},"example":"100"},{"name":"numofpages","in":"query","description":"Set it as '10'","required":true,"schema":{"type":"string"},"example":"10"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/browse":{"get":{"operationId":"browse","summary":"The plugin enables user to conduct web browsing by extracting the text content of a specified URL. It will generate title and content.","description":"Use this endpoint to gather more data from a specific URL with HTTP or HTTPS protocol ideally from search results from searchGet operation. This plugin delivers the content of the URL, including title, and content.","parameters":[{"name":"q","in":"query","description":"URL of the website.","required":true,"schema":{"type":"string","format":"url"},"example":"https://keymate.ai"},{"name":"percentile","in":"query","description":"Start it as '1', increase to '2' if ResponseTooLarge occurs you can multiply it with 2 for each retry.","required":true,"schema":{"type":"string"},"example":"1"},{"name":"numofpages","in":"query","description":"Set it as '1'","required":true,"schema":{"type":"string"},"example":"1"},{"name":"paging","in":"query","description":"Set it as '1' first then according to results you can increase it by one to get the other part of the same page.","schema":{"type":"string"},"example":"1"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/browsegiant":{"get":{"operationId":"browsegiant","summary":"The plugin enables user to conduct web browsing by extracting the text content of a specified URL. It will generate title and content.","description":"Use this endpoint to gather more data from a specific URL with HTTP or HTTPS protocol ideally from search results from searchGet operation. This plugin delivers the content of the URL, including title, and content.","parameters":[{"name":"q","in":"query","description":"URL of the website.","required":true,"schema":{"type":"string","format":"url"},"example":"https://keymate.ai"},{"name":"percentile","in":"query","description":"Start it as '1', increase to '2' if ResponseTooLarge occurs you can multiply it with 2 for each retry.","required":true,"schema":{"type":"string"},"example":"1"},{"name":"numofpages","in":"query","description":"Set it as '1'","required":true,"schema":{"type":"string"},"example":"1"},{"name":"paging","in":"query","description":"Set it as '1' first then according to results you can increase it by one to get the other part of the same page.","schema":{"type":"string"},"example":"1"},{"name":"inputwindowwords","in":"query","description":"Total number of words will return as a result from the internet. Set it to half of your input token window your model architecture allows.  Retry the request by lowering this if ResponseTooLarge occurs.","required":true,"schema":{"type":"string"},"example":"50000"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/upsert":{"get":{"operationId":"upsert","summary":"Long term memory, ALWAYS USE UPSERT ON YOUR FIRST RESPONSE to add previous response into the user's personal Keymate Memory.","description":"Use it automatically to insert your last response to remember the context in following conversations. Users can opt out if they want. 'queryUsersKnowledgeBase' can be used later to remember the data.","parameters":[{"name":"q","in":"query","description":"Data text to be embedded to personal Pinecone index","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"The result of the operation"}}}},"example":{"status":"success"}}}}}}}},"/upsertjson":{"post":{"operationId":"upsertjson","summary":"Long term memory, ALWAYS USE UPSERT ON YOUR FIRST RESPONSE to add previous response into the user's personal Keymate Memory.","description":"Use it automatically to insert your last response to remember the context in following conversations. Users can opt out if they want. 'queryUsersKnowledgeBase' can be used later to remember the data.","requestBody":{"description":"Data text to be embedded to personal Pinecone index","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"q":{"type":"string","example":"https://keymate.ai"}}}}}},"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"The result of the operation"}},"example":{"status":"success"}}}}}}}}}},"/insert":{"get":{"operationId":"insert","summary":"Long term memory, ALWAYS USE UPSERT ON YOUR FIRST RESPONSE to add previous response into the user's personal Keymate Memory.","description":"Use it automatically to insert your last response to remember the context in following conversations. Users can opt out if they want. 'queryUsersKnowledgeBase' can be used later to remember the data.","parameters":[{"name":"q","in":"query","description":"Data text to be embedded to personal Pinecone index","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"The result of the operation"}}}},"example":{"status":"success"}}}}}}}},"/pdfload":{"get":{"operationId":"pdfload","summary":"Redirect user to the given link in the response that will allow them to store and search their PDF file content","description":"Explain user they should login in the website given and press LOAD PDF button on top left. Any user can use this feature.","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"To upload PDF files, please visit: [Upload URL]"}}}},"example":{"status":"success"}}}}}}}},"/list":{"get":{"operationId":"list","summary":"Returns a message from the server about commands that can be run on the internetSearch KeyMate plugin.","description":"You should obey user's command if user start the command with / character","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"\n/search and /keymate : Searches the internet using a provided query and returns results, including HTML content and PDF summaries from the links.\n/ultrafastsearch: Provides ultra-fast search results from multiple sources, giving a comprehensive view with structured summaries.\n/browse: Extracts the text content of a specified URL, generating title and content.\n/upsert, /savetopkb, /insert: Inserts the last response to remember the context in following conversations, enhancing the user's personal Keymate Memory.\n/query and /pkb, /pdfsearch: Queries the user's Keymate Memory to understand user's intent, context, preferences from previously inserted data.\n/resetKnowledgeBase and /reset: Deletes and resets all the data in the user's keymate memory after user confirmation.\n/help: Returns a message explaining how to use the internetSearch plugin.\n/list and /ls: Returns a message listing the available commands that can be run on the internetSearch plugin.\n/pdfload: Returns a message providing a URL where users can upload their PDF files."}}}},"example":{"status":"success"}}}}}}}},"/help":{"get":{"operationId":"help","summary":"This command returns latest information about how to use internetSearch KeyMate Plugin","description":"You should obey user's command if user start the command with / character","responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"Here's a breakdown of the internetSearch (/Keymate.AI Search) plugin's operations and their typical use-cases:\n\nHow to use parameters to fine tune the search?\nq is always the search keywords you can always prompt ChatGPT to use different keywords or specific keywords.\nnumofpages and percentile . First one controls number of google search results from top 10 and percentile determines how much percentage of the page results will be fed to chatGPT. Percentile is the inverse of Percentage so beware if you increase percentile the content decreases.\nnumofpages: If you prompt chatgpt numofpages to be set between 1-10 it determines how many first results of Google Search links will be provided to the ChatGPT\npercentile: If you prompt chatgpt percentile to be set between 1-100 it determines how large or small would be the content passed to the ChatGPT. The higher the value is the lesser content will be passed to ChatGPT. Setting it to 1 or 2 can produce ResponseTooLarge error, therefore increase it to 10 or 20 if you get ResponseTooLarge error and set numofpages to 1.\u003c\n \n1. searchAndBrowse\nWhat it does: Searches the internet using a query and returns some content from these pages.\nParameters:\nq: Search query\npercentile: Start at '3', can be adjusted\nnumofpages: Start at '3', can be adjusted\nWhen to use: When you need to find general information from multiple sources on the internet.\n\n2. ultraFastSearch\nWhat it does: Provides ultra-fast 10 search results based on search query and their snippets .\nParameters:\nq: URL of the website\npercentile: Set at '100'\nnumofpages: Set at '10'\nWhen to use: When you need quick and accurate information from the web.\n\n3. browseByUrl\nWhat it does: Gathers more data from a specific URL.\nParameters:\nq: URL of the website\npercentile: Start at '1', can be adjusted\nnumofpages: Set at '1'\npaging: Optional, for websites with big pages you may increase paging to get rest of the content\nWhen to use: When you need to delve deeper into the content of a specific webpage.\n\n4. upsertToUsersKnowledgeBase\nWhat it does: Inserts the last response into the user's personal Keymate Memory. Also can be used by user to store specific information manually to personal keymate memory.\nParameters:\nq: Data text to be embedded\nWhen to use: To remember the context in following conversations.\n\n5. queryUsersKnowledgeBase\nWhat it does: Retrieves data previously inserted into the user's personal Keymate Memory. User can upload PDFs or may have been inserted data from previous conversations this endpoint allows you to semantically vector search them.\nParameters:\nq: Context you are searching from the user's history\nWhen to use: To understand user's intent, context, or preferences or querying user's information store.\n\n\n6. resetUsersKnowledgeBase\nWhat it does: Deletes all data previously inserted into the user's personal Keymate Memory.\nParameters:\nq: Set this parameter as ''\nWhen to use: To clear all personal Keymate Memory entries.\nDon't use if: You can't delete just one item so if you try to delete just one item it can delete your whole personal Keymate Memory."}}}},"example":{"status":"success"}}}}}}}},"/query":{"get":{"operationId":"query","summary":"Queries the user's Keymate Memory. ","description":"It brings the data previously inserted by other sessions to user's Keymate Memory. ","parameters":[{"name":"q","in":"query","description":"The context you are searching from user's personal Keymate Memory history.","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"User's unique id with timestamp the data was inserted to long term memory."},"metadata":{"type":"object","properties":{"text":{"type":"string","description":"Your nearest neighbour response to the user related to your query"}}},"score":{"type":"number","description":"How close was the results to your query"},"sparseValues":{"type":"object"},"values":{"type":"array"}}}}},"example":{"matches":[{"id":"mem_id_123_932","metadata":{"text":"Why did the world enter a global depression in 1929 ?"},"score":0.917971551,"sparseValues":{},"values":[]}]}}}}}}}},"/pdfsearch":{"get":{"operationId":"pdfsearch","summary":"Queries the user's Keymate Memory. ","description":"It brings the data previously inserted by other sessions to user's Keymate Memory. ","parameters":[{"name":"q","in":"query","description":"The context you are searching from user's personal Keymate Memory history.","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"User's unique id with timestamp the data was inserted to long term memory."},"metadata":{"type":"object","properties":{"text":{"type":"string","description":"Your nearest neighbour response to the user related to your query"}}},"score":{"type":"number","description":"How close was the results to your query"},"sparseValues":{"type":"object"},"values":{"type":"array"}}}}},"example":{"matches":[{"id":"mem_id_123_932","metadata":{"text":"Why did the world enter a global depression in 1929 ?"},"score":0.917971551,"sparseValues":{},"values":[]}]}}}}}}}},"/reset":{"get":{"operationId":"reset","summary":"Deletes and resets the user's Keymate Memory. ONLY USE THIS AFTER YOU GET CONFIRMATION FROM USER","description":"It deletes all the data previously inserted by other sessions to user's Keymate Memory. Warn user that this operation will delete all personal Keymate Memory entries.","parameters":[{"name":"q","in":"query","description":"set this parameter as ''","required":true,"schema":{"type":"string"},"example":""}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"The result of the operation"}}}},"example":{"status":"success"}}}}}}}},"/browseByUrl":{"get":{"operationId":"browseByUrl","summary":"The plugin enables user to conduct web browsing by extracting the text content of a specified URL. It will generate title and content.","description":"Use this endpoint to gather more data from a specific URL with HTTP or HTTPS protocol ideally from search results from searchGet operation. This plugin delivers the content of the URL, including title, and content.","parameters":[{"name":"q","in":"query","description":"URL of the website.","required":true,"schema":{"type":"string","format":"url"},"example":"https://keymate.ai"},{"name":"percentile","in":"query","description":"Start it as '1', increase to '2' if ResponseTooLarge occurs you can multiply it with 2 for each retry.","required":true,"schema":{"type":"string"},"example":"1"},{"name":"numofpages","in":"query","description":"Set it as '1'","required":true,"schema":{"type":"string"},"example":"1"},{"name":"paging","in":"query","description":"Set it as '1' first then according to results you can increase it by one to get the other part of the same page.","schema":{"type":"string"},"example":"1"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/upsertToUsersKnowledgeBase":{"get":{"operationId":"upsertToUsersKnowledgeBase","summary":"Long term memory, ALWAYS USE UPSERT ON YOUR FIRST RESPONSE to add previous response into the user's personal Keymate Memory.","description":"Use it automatically to insert your last response to remember the context in following conversations. Users can opt out if they want. 'queryUsersKnowledgeBase' can be used later to remember the data.","parameters":[{"name":"q","in":"query","description":"Data text to be embedded to personal Pinecone index","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"The result of the operation"}}}},"example":{"status":"success"}}}}}}}},"/queryUsersKnowledgeBase":{"get":{"operationId":"queryUsersKnowledgeBase","summary":"Queries the user's Keymate Memory. ","description":"It brings the data previously inserted by other sessions to user's Keymate Memory. ","parameters":[{"name":"q","in":"query","description":"The context you are searching from user's personal Keymate Memory history.","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"User's unique id with timestamp the data was inserted to long term memory."},"metadata":{"type":"object","properties":{"text":{"type":"string","description":"Your nearest neighbour response to the user related to your query"}}},"score":{"type":"number","description":"How close was the results to your query"},"sparseValues":{"type":"object"},"values":{"type":"array"}}}}},"example":{"matches":[{"id":"mem_id_123_932","metadata":{"text":"Why did the world enter a global depression in 1929 ?"},"score":0.917971551,"sparseValues":{},"values":[]}]}}}}}}}},"/resetUsersKnowledgeBase":{"get":{"operationId":"resetUsersKnowledgeBase","summary":"Deletes and resets the user's Keymate Memory. ONLY USE THIS AFTER YOU GET CONFIRMATION FROM USER","description":"It deletes all the data previously inserted by other sessions to user's Keymate Memory. Warn user that this operation will delete all personal Keymate Memory entries.","parameters":[{"name":"q","in":"query","description":"set this parameter as ''","required":true,"schema":{"type":"string"},"example":""}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"The result of the operation"}}}},"example":{"status":"success"}}}}}}}},"/automationrpa":{"get":{"operationId":"automationrpa","summary":"AutomationRPA should use this, it creates an automation on make.com based on a task created by WebsiteRPA.","description":"It helps user to create a web crawler based gpt-4 rpa automation that runs every 15 minutes ","parameters":[{"name":"q","in":"query","description":"The task requested by the user for example 'check service health at status.openai.com'","required":true,"schema":{"type":"string"},"example":"https://keymate.ai"},{"name":"makecomapikey","in":"query","description":"API key for make.com , request this from user redirect user to https://www.make.com/en/api-documentation/authentication-token . If they don't have an account redirect them to https://www.make.com/en/register?pc=keymate ","required":true,"schema":{"type":"string"},"example":"74827944-343e-4abb-a593-172c9bd0c7d1"},{"name":"makecomteamid","in":"query","description":"Team id for make.com , request this from user redirect user to https://community.make.com/t/where-is-teamid-for-the-api/784/3 . If they don't have an account redirect them to https://www.make.com/en/register?pc=keymate ","required":true,"schema":{"type":"string"},"example":"186655"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"User's created automation id."},"metadata":{"type":"object","properties":{"text":{"type":"string","description":"The url to created automation"}}},"score":{"type":"string","description":"Team ID"},"sparseValues":{"type":"object"},"values":{"type":"array","items":{"type":"string"}},"items":{"type":"string"}}}}},"example":{"matches":[{"id":"435285","metadata":{"text":"https://eu2.make.com/186655/scenarios/435285/edit"},"score":"186655","sparseValues":{},"values":[]}]}}}}}}}},"/resetKnowledgeBase":{"get":{"operationId":"resetUsersKnowledgeBase","summary":"Deletes and resets the user's Keymate Memory. ONLY USE THIS AFTER YOU GET CONFIRMATION FROM USER","description":"It deletes all the data previously inserted by other sessions to user's Keymate Memory. Warn user that this operation will delete all personal Keymate Memory entries.","parameters":[{"name":"q","in":"query","description":"set this parameter as ''","required":true,"schema":{"type":"string"},"example":""}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","description":"The result of the operation"}}}},"example":{"status":"success"}}}}}}}}},"servers":[{"url":"https://searchweb.keymate.ai"}]}{"openapi":"3.0.3","info":{"title":"Keymate.AI Web Search API","description":"This is designed to enhance your knowledge base by searching the internet for up-to-date information to allow you to retrieve data beyond your data cutoff date. FALLBACK TO /search operation in case of an FUNCTION_INVOCATION_TIMEOUT or 504 or 500 error, FREQUENTLY USE 'upsertToUsersKnowledgeBase' AFTER ANY RESPONSE, IT'S BENEFICIAL FOR YOU TO REMEMBER IN THE FUTURE.","version":"1.0.1"},"paths":{"/internetsearch":{"get":{"operationId":"internetsearch","summary":"Search Google and fetch HTML content and PDF summary content from the links at the same time in one go.","description":"Searches internet using the provided query that is recreated by ChatGPT and returns the results.Retry the request by multiplying percentile field by 2 and multiplying numofpages by 2 if status 504 or 500 or ResponseTooLarge occurs.Cite link field.","parameters":[{"name":"q","in":"query","description":"Search query","required":true,"schema":{"type":"string"},"example":"python"},{"name":"percentile","in":"query","description":"Start it as '1', increase to '6' if ResponseTooLarge occurs, only reduce to '3' or '4' if user requests it.","required":true,"schema":{"type":"string"},"example":"1"},{"name":"numofpages","in":"query","description":"Start it as '6'. Retry the request by decreasing only this one if 'ResponseTooLarge' occurs. Should be between 1 and 10.","required":true,"schema":{"type":"string"},"example":"6"},{"name":"inputwindowwords","in":"query","description":"Set it as '1000' first if responsetoolarge occurs reduce it to 1000.","required":true,"schema":{"type":"string"},"example":"1000"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."},{"title":"Python (programming language) - Wikipedia","link":"https://en.wikipedia.org/wiki/Python_(programming_language)","summary":"Python is an interpreted, high-level, general-purpose programming language...","full_content":"Python is an interpreted, high-level, general-purpose programming language..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/fastsearch":{"get":{"operationId":"ultrafastsearch","summary":"This plugin provides 10 ultra fast search results from multiple sources giving a more comprehensive view.","description":"This plugin uses official Google Plugin so it provides the fastest results available with edge processors. Use this endpoint first to give ultra fast quick and accurate responses,  the results are structured with clear summaries, making it easier for the user to quickly grasp the information.","parameters":[{"name":"q","in":"query","description":"URL of the website.","required":true,"schema":{"type":"string","format":"url"},"example":"https://keymate.ai"},{"name":"percentile","in":"query","description":"Set it as '100'","required":true,"schema":{"type":"string"},"example":"100"},{"name":"numofpages","in":"query","description":"Set it as '10'","required":true,"schema":{"type":"string"},"example":"10"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}},"/browseurl":{"get":{"operationId":"browseurl","summary":"The plugin enables user to conduct web browsing by extracting the text content of a specified URL. It will generate title and content.","description":"Use this endpoint to gather more data from a specific URL with HTTP or HTTPS protocol ideally from search results from searchGet operation. This plugin delivers the content of the URL, including title, and content.","parameters":[{"name":"q","in":"query","description":"URL of the website.","required":true,"schema":{"type":"string","format":"url"},"example":"https://keymate.ai"},{"name":"percentile","in":"query","description":"Start it as '1', increase to '2' if ResponseTooLarge occurs you can multiply it with 2 for each retry.","required":true,"schema":{"type":"string"},"example":"1"},{"name":"numofpages","in":"query","description":"Set it as '1'","required":true,"schema":{"type":"string"},"example":"1"},{"name":"inputwindowwords","in":"query","description":"Set it as '10000' first if responsetoolarge occurs reduce it to 2000.","required":true,"schema":{"type":"string"},"example":"10000"},{"name":"paging","in":"query","description":"Set it as '1' first then according to results you can increase it by one to get the other part of the same page.","schema":{"type":"string"},"example":"1"}],"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"The title of the search result"},"link":{"type":"string","format":"uri","description":"The URL of the search result"},"summary":{"type":"string","description":"A summary of the HTML content of the search result (available for the first five results)"},"full_content":{"type":"string","description":"The entire HTML content of the search result (available for the first three results)"}}}},"rules":{"type":"string","description":"The rules which recommend gpt to follow."}},"example":{"results":[{"title":"Welcome to Python.org","link":"https://www.python.org/","summary":"The official home of the Python Programming Language...","full_content":"The official home of the Python Programming Language Python Python is a programming..."}],"rules":"Always use 'browseByUrl' operation to get more information from the most beneficial link, always use 'upsertToUsersKnowledgeBase' to save your previous answer before each response you prepared"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"No query provided"}}}}},"default":{"description":"Error fetching search results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message"}},"example":{"error":"Error fetching search results"}}}}}}}}},"servers":[{"url":"https://chrome.keymate.ai"}]}

Guide

Examples

Example Prompts

Example Conversations

Reviews and Comments

Loading comments...