Conversational interface for apis
AssigneeMuleSoft, LLC
InventorAntonio GARROTE
Life of this patent
Estimating the term…
Abstract
This disclosure relates to a mechanism to create conversational agents from API specifications based on domain-specific inputs. The conversational agents may provide the functionalities exposed by the underlying API to users engaging with the conversational agent. Thus, the user may execute actions exposed by the API specification using natural language in a conversational, comfortable, and familiar fashion.
Claims20
A method, comprising:
- receiving, by a conversational interface engine, an annotated API specification comprising semantic annotations, API endpoints, and operations;
- combining, by the conversational interface engine, the annotated API specification, a domain model, and a linguistic corpus to form a semantic data graph that represents a plurality of entities connected by relations in a specific domain,
- wherein each entity in the plurality of entities is accessible as an API endpoint among the API endpoints in the annotated API specification, and
- wherein the relations between the plurality of entities in the semantic data graph are mapped to the operations;
- and
- building, by the conversational interface engine, a conversational agent that translates commands received in natural language to the operations in the annotated API specification using the semantic data graph,
- wherein at least one of the receiving, combining, and building are performed by one or more computers.
A system, comprising:
- a memory;
- and
- at least one processor coupled to the memory and configured to:
- receive an annotated API specification comprising semantic annotations, API endpoints, and operations at a conversational interface engine;
- combine the annotated API specification, a domain model, and a linguistic corpus to form a semantic data graph that represents a plurality of entities connected by relations in a specific domain,
- wherein each entity in the plurality of entities is accessible as an API endpoint among the API endpoints in the annotated API specification, and
- wherein the relations between the plurality of entities in the semantic data graph are mapped to the operations;
- and
- build a conversational agent that translates commands received in natural language to the operations in the annotated API specification using the semantic data graph.
A non-transitory computer-readable device having instructions stored thereon that, when executed by at least one computing device, causes the at least one computing device to perform operations comprising:
- receiving an annotated API specification comprising semantic annotations, API endpoints, and operations at a conversational interface engine;
- combining the annotated API specification, a domain model, and a linguistic corpus to form a semantic data graph that represents a plurality of entities connected by relations in a specific domain,
- wherein each entity in the plurality of entities is accessible as an API endpoint among the API endpoints in the annotated API specification, and
- wherein the relations between the plurality of entities in the semantic data graph are mapped to the operations;
- and
- building a conversational agent that translates commands received in natural language to the operations in the annotated API specification using the semantic data graph.
Dependencies are inferred from the claim text.