Bootstrapping a conversation service using documentation of a rest API
First Claim
1. A computer-implemented method for constructing a conversation model using documentation of an application programming interface (API), the method comprising:
- generating a respective intent for each API endpoint in a set of API endpoints identified in the documentation of the API;
generating a respective set of utterance examples for each respective intent; and
generating the conversation model using each respective intent and each respective set of utterance examples; and
utilizing the conversation model to train a natural language classifier, the natural language classifier being used to classify an input utterance as corresponding to a particular API endpoint, wherein utilizing the conversation model to train the natural language classifier further comprises using positive training examples and negative training examples to train the natural language classifier.
1 Assignment
0 Petitions
Accused Products
Abstract
Systems, methods, and computer-readable media for constructing a conversation model using documentation of an application programming interface (API) are disclosed. The conversation model can be used to train a natural language classifier. API endpoints may be represented in the API documentation as (verb, resource, element) tuples. These tuples can be converted into intent and parameters of the API endpoints can be converted into entities. In addition, example utterances may be created for each intent. The conversation model can be generated using the intents, example utterances, and/or entities.
18 Citations
20 Claims
-
1. A computer-implemented method for constructing a conversation model using documentation of an application programming interface (API), the method comprising:
-
generating a respective intent for each API endpoint in a set of API endpoints identified in the documentation of the API; generating a respective set of utterance examples for each respective intent; and generating the conversation model using each respective intent and each respective set of utterance examples; and utilizing the conversation model to train a natural language classifier, the natural language classifier being used to classify an input utterance as corresponding to a particular API endpoint, wherein utilizing the conversation model to train the natural language classifier further comprises using positive training examples and negative training examples to train the natural language classifier. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for constructing a conversation model using documentation of an application programming interface (API), the system comprising:
-
at least one memory storing computer-executable instructions; and at least one processor configured to access the at least one memory and execute the computer-executable instructions to; generate a respective intent for each API endpoint in a set of API endpoints identified in the documentation of the API; generate a respective set of utterance examples for each respective intent; generate the conversation model using each respective intent and each respective set of utterance examples; and utilize the conversation model to train a natural language classifier, the natural language classifier being used to classify an input utterance as corresponding to a particular API endpoint, wherein utilizing the conversation model to train the natural language classifier further comprises using positive training examples and negative training examples to train the natural language classifier. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product for constructing a conversation model using documentation of an application programming interface (API), the computer program product comprising a storage medium readable by a processing circuit, the storage medium storing instructions executable by the processing circuit to cause a method to be performed, the method comprising:
-
generating a respective intent for each API endpoint in a set of API endpoints identified in the documentation of the API; generating a respective set of utterance examples for each respective intent; generating the conversation model using each respective intent and each respective set of utterance examples; and utilizing the conversation model to train a natural language classifier, the natural language classifier being used to classify an input utterance as corresponding to a particular API endpoint, wherein utilizing the conversation model to train the natural language classifier further comprises using positive training examples and negative training examples to train the natural language classifier. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification