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 computer-implemented method for providing supplemental content in a collaboration platform, the method comprising:
causing display of a graphical user interface of a frontend of a collaboration system on a display of a client device, the graphical user interface comprising a content region including user-generated content of an electronic document;
in response to receiving a user input provided with respect to a text string displayed within the user-generated content, causing display of a selectable control for generating supplemental content;
in response to receiving a user selection of the selectable control, querying a data store to obtain structured data associated with the text string;
extracting description content from the structured data and generating a prompt comprising:
a predefined query prompt text designating a proposed action; and
at least a portion of the extracted description content;
providing the prompt to an external generative output engine;
obtaining a generative response from the external generative output engine, the generative response generated in accordance with the proposed action and using extracted description content;
causing display, proximate to the text string in the graphical user interface, of an interface element overlapping at least a portion of the user-generated content of the electronic document; and
causing the generative response to be displayed within the interface element.
2 . The computer-implemented method of claim 1 , wherein:
the interface element comprises one or more selectable link objects; and
the method further comprises:
in response to receiving a user selection of a particular selectable link object of the one or more selectable link objects, executing an application programming interface call to an external platform associated with the particular selectable link object to cause redirection to a particular content item at the external platform, the particular content item associated with the particular selectable link object.
3 . The computer-implemented method of claim 2 , wherein:
the data store comprises a project graph indicating one or more relationships between system objects, the one or more relationships identified in part using historical user interaction logs;
the structured data indicates at least one system object identified using at least one relationship of the one or more relationships; and
the prompt further includes a reference to the at least one system object indicated by the structured data.
4 . The computer-implemented method of claim 3 , further comprising:
identifying, from the extracted description content, at least one of:
a team identifier associated with the particular selectable link object; or
a user identifier associated with the particular selectable link object; and
causing the at least one of the team identifier or the user identifier to be displayed proximate to the particular selectable link object.
5 . The computer-implemented method of claim 4 , wherein:
the interface element includes a feedback control comprising a selectable positive feedback element and a selectable negative feedback element; and
the predefined query prompt text is based at least in part on past user interactions with the feedback control.
6 . The computer-implemented method of claim 1 , wherein:
the interface element includes a selectable classifier for the text string; and
the method further comprises:
in response to receiving a user selection of the selectable classifier, causing display of one or more additional content items having the selectable classifier.
7 . The computer-implemented method of claim 6 , wherein the selectable classifier indicates at least one of:
a team;
a project; or
a service.
8 . A system for providing a supplemental content in 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, the backend of the collaboration platform executing on a server having a processing unit and computer readable memory storing instructions configured to:
cause display, on a client device, of a graphical user interface of a frontend of the collaboration platform, the graphical user interface comprising including user-generated content of an electronic document;
in response to receiving a user input provided with respect to a text string of the user-generated content, cause display of a selectable content control with respect to the text string;
in response to receiving a user selection of the selectable content control, query a data store to obtain structured data identified using the text string;
extract description content from the structured data and generate a prompt comprising:
a prompt template designating a proposed action; and
at least a portion of the extracted description content;
provide the prompt to an external generative output engine;
obtain a generative response from the external generative output engine, the generative response generated in accordance with the proposed action and using the extracted description content;
cause display of an interface element overlapping at least a portion of the user-generated content at a location proximate to the text string; and
cause the generative response to be displayed within the interface element.
9 . The system of claim 8 , wherein causing the generative response to be displayed within the interface element includes:
causing display of a selectable insertion element and a selectable replacement element, wherein:
in response to receiving a user selection of the selectable insertion element, the generative response is inserted proximate to the text string; and
in response to receiving a user selection of the selectable replacement element, the generative response replaces the text string.
10 . The system of claim 8 , wherein generating the prompt includes processing the at least the portion of the extracted description content to remove, from the extracted description content, at least one of a formatting tag or a multi-media content element.
11 . The system of claim 8 , wherein the proposed action is at least one of:
a change tone action;
a content suggestion action;
a writing improvement suggestion action; or
a summarize action.
12 . The system of claim 11 , wherein the change tone action includes at least one of:
a casual tone action;
an educational tone action;
a professional tone action; or
a neutral tone action.
13 . The system of claim 8 , wherein the data store comprises a project graph indicating one or more relationships between system objects, the one or more relationships identified in part using historical user interaction logs;
the structured data indicates at least one system object identified using at least one relationship of the one or more relationships; and
the prompt further includes a reference to the at least one system object indicated by the structured data.
14 . The system of claim 8 , wherein the user input provided with respect to a text string is at least one of:
a highlight input;
a hover input; or
a selection of a dedicated control.
15 . A computer-implemented method for providing supplemental content in a collaboration platform, the method comprising:
causing display of a graphical user interface of a frontend of a collaboration system on a display of a client device, the graphical user interface comprising a content region including user-generated content of an electronic document;
in response to receiving a user input provided with respect to a portion of user-generated content displayed within the content region, causing display of a set of selectable content generation controls;
in response to receiving a user selection of a particular selectable content generation control of the set of selectable content generation controls, querying a data store to obtain structured data associated with the portion of user-generated content;
extracting description content from the structured data and generating a prompt comprising:
a predefined query prompt text designating a proposed action associated with the particular selectable content generation control; and
at least a portion of the extracted description content;
providing the prompt to an external generative output engine;
obtaining a generative response from the external generative output engine, the generative response generated in accordance with the proposed action and using extracted description content;
causing display, proximate to the portion of user-generated content displayed within the graphical user interface, of an interface element overlapping at least a portion of the user-generated content of the electronic document; and
causing the generative response to be displayed within the interface element.
16 . The computer-implemented method of claim 15 , wherein:
the interface element comprises one or more selectable link objects; and
the method further comprises:
in response to receiving a user selection of a particular selectable link object of the one or more selectable link objects, executing an application programming interface call to an external platform associated with the particular selectable link object to cause redirection to a particular content item at the external platform, the particular content item associated with the particular selectable link object.
17 . The computer-implemented method of claim 15 , wherein:
the data store comprises a project graph indicating one or more relationships between system objects, the one or more relationships identified in part using historical user interaction logs;
the structured data indicates at least one system object identified using at least one relationship of the one or more relationships; and
the prompt further includes a reference to the at least one system object indicated by the structured data.
18 . The computer-implemented method of claim 15 , wherein:
the portion of user-generated content indicates a particular project; and
the interface element includes an indicator of at least one of:
a user that has previously worked on the particular project; or
a team that has previously worked on the particular project.
19 . The computer-implemented method of claim 18 , wherein:
the interface element includes a feedback control comprising a selectable positive feedback element and a selectable negative feedback element; and
the interface element includes an indicator of one or more users that have previously provided positive feedback in respect of the generative response.
20 . The computer-implemented method of claim 15 , wherein causing the generative response to be displayed within the interface element includes:
causing display of a selectable insertion element and a selectable replacement element, wherein:
in response to receiving a user selection of the selectable insertion element, the generative response is inserted proximate to the portion of user-generated content; and
in response to receiving a user selection of the selectable replacement element, the generative response replaces the portion of user-generated content.