Document-centric interface for interaction with AI processing systems
A user interface (e.g., a computer-executed software program) is provided for interacting with an artificial intelligence (AI) processing system. The user interface allows a user to enter into a document user input, submit the user input to the AI processing system, and display within the document results received from the AI processing system. Thus, the user interface records an interaction and/or a processing history with the AI processing system. Additionally, the user interface provides mechanisms that permit a user to edit contents of the document and thus edit the interaction/processing history. The user interface allows the user to submit the edited interaction/processing history to the AI processing system to prompt the AI processing system to generate additional results. The user input received and stored in the document by the notebook interface optionally may include one or more of text, numerical data, mathematical formulae, computer software code, images.
1 . A method for interacting with a first artificial intelligence (AI) computer processing system that processes information according to an AI algorithm, the method comprising:
receiving, at one or more computer processors, a first user input to be processed by the first AI computer processing system;
in response to receiving the first user input, prompting, by the one or more computer processors, a display device to display the first user input in a workspace document;
generating, at the one or more computer processors, a first application programming interface (API) call that includes the first user input, the first API call configured to prompt the first AI computer processing system to process the first user input according to the AI algorithm;
prompting, by the one or more computer processors, a network interface to send the first API call to the first AI computer processing system;
receiving, at the one or more computer processors, a first result from the first AI computer processing system, the first result corresponding to a processing of the first user input by the first AI computer processing system according to the AI algorithm, wherein receiving the first result is responsive to the network interface sending the first API call to the first AI computer processing system;
in response to receiving the first result, prompting, by the one or more computer processors, the display device to display the first result in the workspace document while displaying the first user input in the workspace document;
after receiving the first result, receiving, at one or more computer processors, a second user input that corresponds to a modification of at least one of i) the first user input, and ii) the first result;
in response to receiving the second user input,
modifying in the workspace document, by the one or more computer processors, the one or both of i) the first user input and ii) the first result according to the second user input to generate one or both of i) a modified first user input and ii) a modified first result, and
prompting, by the one or more computer processors, the display device to display the one or both of i) the modified first user input and ii) the modified first result in the workspace document;
generating, at the one or more computer processors, a second API call that includes the one or both of i) the modified first user input and ii) the modified first result, the second API call configured to prompt the first AI computer processing system to process the one or both of i) the modified first user input and ii) the modified first result according to the AI algorithm;
prompting, by the one or more computer processors, the network interface to send the second API call to the first AI computer processing system;
receiving, at the one or more computer processors, a second result from the first AI computer processing system, the second result corresponding to a processing of the one or both of i) the modified first user input and ii) the modified first result by the first AI computer processing system according to the AI algorithm, wherein receiving the second result is responsive to the network interface sending the second API call to the first AI computer processing system;
in response to receiving the second result, prompting, by the one or more computer processors, the display device to display the second result in the workspace document;
receiving, at the one or more, processors, first configuration data that indicates that a first section in the workspace document corresponds to the first AI computer processing system, the first section divided from a second section in the workspace document by a divider in the workspace document,
receiving, at the one or more computer processor second configuration data that indicates that the second section corresponds to a second AI computer processing system different than the first AI computer processing system,
in response to the divider in the workspace document and the first configuration data, prompting, by the one or more computer processors, the netowrk interface to send API calls corresponding to the first section to the first AI computer processing system; and
in response to the divider in the workspace document and the second configuration data, prompting, by the one or more computer processors, the network ix to send API calls corresponding to the second section to the second AI computer processing system.
2 . The method of claim 1 , further comprising:
receiving, at the one or more computer processors, a third user input that corresponds to adding the divider in the workspace document to divide the first section in the workspace document from the second section in the workspace document, wherein the first user input and the first result are located in the first section.
3 . The method of claim 2 , further comprising one or both of:
in response to the divider in the workspace document, excluding, by the one or more computer processors, user input in the second section from being used for API calls generated using user input in the first section; and
in response to the divider in the workspace document, excluding, by the one or more computer processors, user input in the first section from being used for API calls generated using user input in the second section.
4 . The method of claim 2 , further comprising:
receiving, at the one or more computer processors, third configuration data for operation of the first AI computer processing system in connection with the first section of the workspace document;
receiving, at the one or more computer processors, fourth configuration data for operation of the second AI computer processing system in connection with the second section of the workspace document; and
one or both of:
in response to the divider in the workspace document, excluding, by the one or more processors, the second configuration data from being used in connection with processing by the first AI computer processing system of using user input in the first section, and
in response to the divider in the workspace document, excluding, by the one or more processors, the first configuration data from being used in connection with processing by the second AI computer processing system of using user input in the second section.
5 . The method of claim 1 , further comprising:
in response to receiving the first result, storing, by the one or more computer processors, the first result in the workspace document while the first user input is stored in the workspace document.
6 . The method of claim 1 , wherein the second user input corresponds to a modification of the first user input, and wherein the second API call that includes a modified first user input, the method further comprising:
in response to receiving the first result, prompting, by the one or more computer processors, the display device to display the first result in the workspace document while displaying the modified first user input in the workspace document.
7 . A computer for interacting with a first artificial intelligence (AI) computer processing system that processes information according to an AI algorithm, the computer comprising:
one or more computer processors; and
one or more memories coupled to the one or more computer processors, the one or more memories storing machine readable instructions that, when executed by the one or more processors, cause the one or more processors to:
receive a first user input to be processed by the first AI computer processing system,
in response to receiving the first user input, prompt a display device to display the first user input in a workspace document,
generate a first application programming interface (API) call that includes the first user input, the first API call configured to prompt the first AI computer processing system to process the first user input according to the AI algorithm,
prompt a network interface to send the first API call to the first AI computer processing system,
receive a first result from the first AI computer processing system, the first result corresponding to a processing of the first user input by the first AI computer processing system according to the AI algorithm, wherein receiving the first result is responsive to the network interface sending the first API call to the first AI computer processing system,
in response to receiving the first result, prompt the display device to display the first result in the workspace document while displaying the first user input in the workspace document,
after receiving the first result, receive a second user input that corresponds to a modification of at least one of i) the first user input, and ii) the first result, and
in response to receiving the second user input,
modify in the workspace document the one or both of i) the first user input and ii) the first result according to the second user input to generate one or both of i) a modified first user input and ii) a modified first result, and
prompt the display device to display the one or both of i) the modified first user input and ii) the modified first result in the workspace document;
wherein the one or more memories further store machine readable instructions that, when executed by the one or more processors, cause the one or more processors to:
generate a second API call that includes the one or both of i) the modified first user input and ii) the modified first result, the second API call configured to prompt the first AI computer processing system to process the one or both of i) the modified first user input and ii) the modified first result according to the AI algorithm,
prompt the network interface to send the second API call to the first AI computer processing system,
receive a second result from the first AI computer processing system, the second result corresponding to a processing of the one or both of i) the modified first user input and ii) the modified first result by the first AI computer processing system according to the AI algorithm, wherein receiving the second result is responsive to the network interface sending the second API call to the first AI computer processing system,
in response to receiving the second result, prompt the display device to display the second result in the workspace document,
receive first configuration data that indicates that a first section in the workspace document corresponds to the first AI computer processing system, the first section divided from a second section in the workspace document by er in the workspace document,
receive second configuration data that indicates that the second section corresponds a second AI computer processing system different than the first AI computer processing system;
in response to the divider in the workspace document and the first configuration data, prompt the network interface to send API calls corresponding to the first section to the first AI computer processing system, and
in response to the divider in the workspace document and the second configuration data, prompt the network interface to send API calls corresponding to the second section to the second AI computer processing system.
8 . The computer of claim 7 , wherein the one or more memories further store machine readable instructions that, when executed by the one or more processors, cause the one or more processors to:
receive a third user input that corresponds to adding the divider in the workspace document to divide the first section in the workspace document from the second section in the workspace document, wherein the first user input and the first result are located in the first section.
9 . The computer of claim 8 , wherein the one or more memories further store machine readable instructions that, when executed by the one or more processors, cause the one or more processors to one or both of:
in response to the divider in the workspace document, exclude user input in the second section from being used for API calls generated using user input in the first section; and
in response to the divider in the workspace document, exclude user input in the first section from being used for API calls generated using user input in the second section.
10 . The computer of claim 8 , wherein the one or more memories further store machine readable instructions that, when executed by the one or more processors, cause the one or more processors to:
receive third configuration data for operation of the first AI computer processing system in connection with the first section of the workspace document;
receive fourth configuration data for operation of the second AI computer processing system in connection with the second section of the workspace document; and
one or both of:
in response to the divider in the workspace document, exclude the second configuration data from being used in connection with processing by the first AI computer processing system of using user input in the first section, and
in response to the divider in the workspace document, exclude the first configuration data from being used in connection with processing by the second AI computer processing system of using user input in the second section.
11 . The computer of claim 7 , wherein the one or more memories further store machine readable instructions that, when executed by the one or more processors, cause the one or more processors to:
in response to receiving the first result, store the first result in the workspace document while the first user input is stored in the workspace document.
12 . The computer of claim 7 , wherein the second user input corresponds to a modification of the first user input, wherein the second API call that includes a modified first user input, and wherein the one or more memories further store machine readable instructions that, when executed by the one or more processors, cause the one or more processors to:
in response to receiving the first result, prompt the display device to display the first result in the workspace document while displaying the modified first user input in the workspace document.
13 . One or more tangible, non-transitory computer readable media storing machine readable instructions that, when executed by one or more processors, cause the one or more processors to:
receive a first user input to be processed by a first artificial intelligence (AD) computer processing system;
in response to receiving the first user input, prompt a display device to display the first user input in a workspace document;
generate a first application programming interface (API) call that includes the first user input, the first API call configured to prompt the first AI computer processing system to process the first user input according to the AI algorithm;
prompt a network interface to send the first API call to the first AI computer processing system;
receive a first result from the first AI computer processing system, the first result corresponding to a processing of the first user input by the first AI computer processing system according to the AI algorithm, wherein receiving the first result is responsive to the network interface sending the first API call to the first AI computer processing system;
in response to receiving the first result, prompt the display device to display the first result in the workspace document while displaying the first user input in the workspace document;
after receiving the first result, receive a second user input that corresponds to a modification of at least one of i) the first user input, and ii) the first result;
in response to receiving the second user input:
modify in the workspace document the one or both of i) the first user input and ii) the first result according to the second user input to generate one or both of i) a modified first user input and ii) a modified first result, and
prompt the display device to display the one or both of i) the modified first user input and ii) the modified first result in the workspace document;
generate a second API call that includes the one or both of i) the modified first user input and ii) the modified first result, the second API call configured to prompt the first AI computer processing system to process the one or both of i) the modified first user input and ii) the modified first result according to the AI algorithm;
prompt the network interface to send the second API call to the first AI computer processing system;
receive a second result from the first AI computer processing system, the second result corresponding to a processing of the one or both of i) the modified first user input and ii) the modified first result by the first AI computer processing system according to the AI algorithm, wherein receiving the second result is responsive to the network interface sending the second API call to the first AI computer processing system;
in response to receiving the second result, prompt the display device to display the second result in the workspace document,
receive first configuration data that indicates that a first section in the workspace document corresponds to the first AI computer processing system, the first section divided from second section in the workspace document by a divider in the workspace document;
receive second configuration data that indicates that the second section corresponds to a second AI computer processing system different than the first AI computer processing system,
in response to the divider in the workspace document and the first configuration data, prompt the network interface to send API corresponding to the first section to the first AI computer processing system; and
in response e divider in the workspace document and the second configuration data prompt the network interface to send API calls corresponding to the second section to the second AI computer processing system.
14 . The one or more computer readable media of claim 13 , further storing machine readable instructions that, when executed by the one or more processors, cause the one or more processors to:
receive a third user input that corresponds to adding the divider in the workspace document to divide the first section in the workspace document from the second section in the workspace document, wherein the first user input and the first result are located in the first section.
15 . The one or more computer readable media of claim 14 , further storing machine readable instructions that, when executed by the one or more processors, cause the one or more processors to:
in response to the divider in the workspace document, exclude user input in the second section from being used for API calls generated using user input in the first section; and
in response to the divider in the workspace document, exclude user input in the first section from being used for API calls generated using user input in the second section.
16 . The one or more computer readable media of claim 14 , further storing machine readable instructions that, when executed by the one or more processors, cause the one or more processors to:
receive third configuration data for operation of the first AI computer processing system in connection with the first section of the workspace document;
receive fourth configuration data for operation of the second AI computer processing system in connection with the second section of the workspace document; and
one or both of:
in response to the divider in the workspace document, exclude the second configuration data from being used in connection with processing by the first AI computer processing system of using user input in the first section, and
in response to the divider in the workspace document, exclude the first configuration data from being used in connection with processing by the second AI computer processing system of using user input in the second section.
17 . The one or more computer readable media of claim 13 , further storing machine readable instructions that, when executed by the one or more processors, cause the one or more processors to:
in response to receiving the first result, store the first result in the workspace document while the first user input is stored in the workspace document.
18 . The one or more computer readable media of claim 13 , wherein the second user input corresponds to a modification of the first user input, wherein the second API call that includes a modified first user input, and wherein the one or more memories further store machine readable instructions that, when executed by the one or more processors, cause the one or more processors to:
in response to receiving the first result, prompt the display device to display the first result in the workspace document while displaying the modified first user input in the workspace document.