Automated content creation and content services for collaboration platforms
Embodiments described herein relate to systems and methods for automatically generating content, generating API requests and/or request bodies, structuring user-generated content, and/or generating structured content in collaboration platforms, such as documentation systems, issue tracking systems, project management platforms, and other platforms. The systems and methods described use a network architecture that includes a prompt generation service and a set of one or more purpose-configured large language model instances (LLMs) and/or other trained classifiers or natural language processors used to provide generative responses for content collaboration platforms.
1 . A system for providing a document editor for a collaboration platform, the system comprising:
a backend of the collaboration platform configured to manage a set of content items for a network of client devices, each client device operating a frontend of the collaboration platform, the backend of the collaboration platform executing on a server having a processing unit and computer-readable memory storing instructions for:
causing display of a graphical user interface on the frontend of a client device of the network of client devices, the graphical user interface including an editor region displaying user-generated content of a content item;
in response to a user selection of a portion of the user-generated content, causing display of a command selection interface window overlapping at least a portion of the user-generated content, the command selection interface window including a set of command controls, the set of command controls corresponding to a set of content modification actions;
in response to the user selection of a particular command control of the set of command controls, generating a prompt comprising:
predefined query prompt text including context-defining text corresponding to a particular content modification action associated with the particular command control;
at least one schema-defining text portion, the schema-defining text portion determined in accordance with a markup formatting item extracted from the content item; and
at least a portion of the selected portion of the user-generated content;
providing the prompt to an external generative output engine using an application programming interface call over a computer network to the external generative output engine;
obtaining a generative response from the external generative output engine;
causing display of the generative response in the graphical user interface; and
in response to a user selection of an input control, causing the generative response to be inserted into the content item displayed in the editor region of the graphical user interface.
2 . The system of claim 1 , wherein:
the collaboration platform is an issue tracking system;
the content item is an issue managed by the issue tracking system;
the user-generated content includes an ordered list of interactions with regard to the issue;
the particular content modification action is an event summary action;
the generative response includes a list of event summaries; and
the list of event summaries are saved with the issue on the issue tracking system subsequent to insertion of the event summaries into the editor region.
3 . The system of claim 1 , wherein:
the collaboration platform is a documentation platform;
the content item is a user-generated page managed by the documentation platform;
the particular content modification action is a decision summary action; and
the generative response includes a list of predicted decisions contained in the user-generated page.
4 . The system of claim 1 , wherein:
the set of content modification actions comprises a change tone command; and
context-defining text includes multiple pairs of example input phrases and example output phrases.
5 . The system of claim 4 , wherein:
the instructions further comprise instructions for obtaining a role of a user of the client device based on a user-profile managed by the backend of the collaboration platform;
the context-defining text including the multiple pairs of example input phrases and example output phrases is selected based on the role of the user.
6 . The system of claim 4 , wherein:
the content item is a first content item; and
the multiple pairs of example input phrases and example output phrases are based on user-generated content contained in a second content item managed by the collaboration platform.
7 . The system of claim 1 , wherein:
the context-defining text includes an output schema example; and
the generative response is formatted in accordance with the output schema example.
8 . The system of claim 7 , wherein:
the collaboration platform is a documentation platform of user-generated pages;
the content item is a page of the documentation platform;
the output schema example includes a platform-specific markdown schema; and
the generative response includes markdown content that corresponds to the platform-specific markdown schema.
9 . The system of claim 1 , wherein:
the particular command control of the set of command controls corresponds to a content length modification action; and
the generative response is lengthened or shortened with respect to the portion of the user-generated content in accordance with the content length modification action.
10 . The system of claim 1 , wherein:
the particular command control of the set of command controls corresponds to a brainstorm action; and
the generative response includes a list of predicted discussion topics extracted from the portion of the user-generated content.
11 . A computer-implemented method of providing content editing services for an electronic document of a collaboration platform, the method comprising:
causing display of a graphical user interface on a frontend of the collaboration platform on a client device, the graphical user interface including an editor region displaying user-generated content of the electronic document;
causing display of a command selection interface window overlapping at least a portion of the user-generated content, the command selection interface window including a set of command controls, the set of command controls corresponding to a set of content modification actions;
in response to a user selection of a particular command control of the set of command controls, generating a prompt comprising:
predefined query prompt text selected in accordance with the particular command control;
at least one schema-defining text portion, the schema-defining text portion determined in accordance with a markup formatting item extracted from the electronic document; and
a text-formatted version of the user-generated content of the electronic document;
providing the prompt to an external generative output engine using an application programming interface call over a computer network to the external generative output engine;
obtaining a generative response from the generative output engine; and
causing display of the generative response in the graphical user interface.
12 . The computer-implemented method of claim 11 , wherein in response to the user selection of an input control, causing the generative response to be inserted into the editor region of the graphical user interface.
13 . The computer-implemented method of claim 11 , wherein in response to the user selection of an input control, causing the generative response to replace at least a portion of the user-generated content displayed in the editor region of the graphical user interface.
14 . The computer-implemented method of claim 11 , wherein:
the collaboration platform is a first collaboration platform; and
in response to the user selection of an input control, causing the generative response to be inserted in a second content item managed by a second collaboration platform different than the first collaboration platform.
15 . The computer-implemented method of claim 14 , wherein:
the first collaboration platform is an issue tracking platform;
the content item is an issue tracked by the issue tracking platform;
the second collaboration platform is a documentation platform; and
the second content item is an electronic document managed by the documentation platform.
16 . A computer-implemented method of transforming content of an electronic document of a collaboration platform, the method comprising:
in response to a user input provided to a graphical user interface of a frontend of the collaboration platform executing on a client device, identifying a first electronic document managed by the collaboration platform;
causing display of a set of command controls, the set of command controls corresponding to a set of content modification actions;
in response to a user selection of a particular command control of the set of command controls, generating a prompt comprising:
predefined query prompt text including context-defining text corresponding to the particular command control;
a schema-defining text portion based on and specific to the selected particular command control; and
text generated using user-generated content of the first electronic document;
providing the prompt to an external generative output engine using an application programming interface call over a computer network to the external generative output engine;
obtaining a generative response from the external generative output engine;
causing display of the generative response in the graphical user interface; and
in response to a user selection of an input control, causing the generative response to be inserted into a second document managed by the collaboration platform.
17 . The computer-implemented method of claim 16 , wherein:
the collaboration platform is an issue tracking platform;
the first electronic document corresponds to an issue tracked by the issue tracking platform;
the user-generated content comprises a list of events performed with respect to the issue; and
the generative response contained in the second document includes a summary of the list of events.
18 . The computer-implemented method of claim 16 , wherein:
the collaboration platform is a documentation platform configured to manage a plurality of electronic documents;
the particular command control is associated with a task summary action;
the first electronic document includes user-generated content formatted in a series of text blocks;
the second electronic document includes the generative response formatted as a bulleted list of text portions, each text portion of the bulleted list of text portions corresponding to a task identified in a corresponding portion of the user-generated content formatted in the series of text blocks.
19 . The computer-implemented method of claim 16 , wherein:
the first electronic document is associated with a first document object model defining a first series of content portions; and
the second electronic document is associated with a second document object model different from the first document object model and defining a second series of content portions different than the first series of content portions.
20 . The computer-implemented method of claim 19 , wherein:
each content portion of the second series of content portions represents a summary of each corresponding content portion of the first series of content portions.