Artificial intelligence agents and scripts as targets of a trigger for executing instructions
AssigneeNotion Labs, Inc.
InventorsQuinn Hajime Johnson, Sean Keenan, Eric Liu, Ryan Nystrom, Simon Townsend-Last
Life of this patent
Estimating the term…
Abstract
Disclosed herein are systems, methods, and computer readable media for replacing artificial intelligence (AI) agents with scripts as the target of a trigger. In some embodiments, an AI agent is assigned as a target of a trigger and an occurrence of the trigger is detected. In response, the AI agent may be called and provided context associated with the trigger. A determination that the set of instructions is appropriate for deterministic execution may be received from the AI agent and the AI agent may responsively be replaced with a script as the target of the trigger.
Claims20
One or more non-transitory, computer-readable storage media comprising instructions recorded thereon, wherein the instructions, when executed by at least one data processor of a system, cause the system to:
- assign an artificial intelligence (AI) agent as a target of a trigger,
- wherein the trigger is an action performed within either a workspace application or a third-party application that automatically initiates a call of the target of the trigger, and
- wherein calling the AI agent causes the AI agent to perform an analysis of a set of instructions;
- detect an occurrence of the trigger;
- in response to detecting the occurrence of the trigger, call the AI agent and provide context associated with the trigger to the AI agent;
- receive, from the AI agent, a determination that the set of instructions is appropriate for deterministic execution,
- wherein the determination is based on a prediction, by the AI agent, that executing the set of instructions deterministically uses fewer computational resources than executing the set of instructions using the AI agent;
- in response to the determination, provide to a user, via a user interface, a notification to approve replacing the AI agent with a script as the target of the trigger,
- wherein the script is a deterministic code segment that, when called, executes the set of instructions to generate an output;
- receive from the user, via the user interface, an approval of the determination;
- in response to receiving the approval, generate the script;
- save the script in a memory accessible by the workspace application;
- replace the AI agent with the script as the target of the trigger for subsequent occurrences of the trigger;
- detect a subsequent occurrence of the trigger;
- upon detecting the subsequent occurrence of the trigger, automatically retrieve the script from the memory;
- and
- deterministically execute the set of instructions using the retrieved script rather than execute the AI agent in response to the trigger.
A system comprising:
- at least one hardware processor;
- and
- at least one non-transitory memory storing instructions, which, when executed by the at least one hardware processor, cause the system to:
- assign an artificial intelligence (AI) agent as a target of a trigger,
- wherein the trigger is an action performed within either a workspace application or a third-party application that automatically initiates a call of the target of the trigger, and
- wherein calling the AI agent causes the AI agent to perform an analysis of a set of instructions;
- detect an occurrence of the trigger;
- in response to detecting the occurrence of the trigger, call the AI agent and provide context associated with the trigger to the AI agent;
- receive, from the AI agent, a determination that the set of instructions is appropriate for deterministic execution;
- and
- in response to receiving the determination, replace the AI agent with a script as the target of the trigger for subsequent occurrences of the trigger,
- wherein the script is a deterministic code segment that, when called, executes the set of instructions to generate an output;
- save the script in a memory accessible by the workspace application;
- detect a subsequent occurrence of the trigger;
- upon detecting the subsequent occurrence of the trigger, automatically retrieve the script from the memory;
- and
- deterministically execute the set of instructions using the retrieved script rather than execute the AI agent in response to the trigger.
A method comprising:
- assigning an artificial intelligence (AI) agent as a target of a trigger,
- wherein the trigger is an action performed within either a workspace application or a third-party application that automatically initiates a call of the target of the trigger, and
- wherein calling the AI agent causes the AI agent to perform an analysis of a set of instructions;
- detecting an occurrence of the trigger;
- in response to detecting the occurrence of the trigger, calling the AI agent and providing context associated with the trigger to the AI agent;
- receiving, from the AI agent, a determination that the set of instructions is appropriate for deterministic execution;
- and
- in response to receiving the determination, replacing the AI agent with a script as the target of the trigger for subsequent occurrences of the trigger,
- wherein the script is a deterministic code segment that, when called, executes the set of instructions to generate an output;
- saving the script in a memory accessible by the workspace application;
- detecting a subsequent occurrence of the trigger;
- upon detecting the subsequent occurrence of the trigger, automatically retrieving the script from the memory;
- and
- deterministically executing the set of instructions using the retrieved script rather than executing the AI agent in response to the trigger.
Dependencies are inferred from the claim text.