Некоторое содержание этого приложения в настоящий момент недоступно.
Если эта ситуация сохраняется, свяжитесь с нами по адресуОтзывы и контакты
1. (WO2019042738) GENERATING CHAT BOTS FROM WEB API SPECIFICATIONS
Примечание: Текст, основанный на автоматизированных процессах оптического распознавания знаков. Для юридических целей просьба использовать вариант в формате PDF

CLAIMS

1. A method of automatically generating a conversational bot for an application programming interface (API), the method executed by at least one hardware processor, the method comprising:

receiving an API specification comprising information associated with invoking an API call;

parsing the API specification;

based on parsing the API specification, constructing a conversational bot specification;

receiving a natural language expression from a user;

based on the conversational bot specification, transforming the natural language expression into instructions;

generating a natural language prompt based on the instructions responsive to determining that the instructions contain a prompt to present to the user; and

executing a computer code to invoke the API call based on the instructions responsive to determining that the instructions contain executing the API call.

2. The method of claim 1 , wherein the receiving of the natural language expression from the user, the transforming of the natural language expression into instructions, the generating of the natural language prompt and the presenting of the natural language prompt to the user, are repeated based on the conversational bot specification to carry on a dialogue flow for invoking the API call.

3. The method of claim 1 , wherein the computer code to invoke the API call comprises a hypertext transfer protocol (HTTP) call to a service endpoint providing a service associated with the API call.

4. The method of claim 1 , wherein the API specification comprises a web API specification.

5. The method of claim 1 , wherein the method further comprises presenting the natural language prompt to the user responsive to generating the natural language prompt.

6. The method of claim 1 , wherein the constructing the conversational bot specification comprises constructing a finite state machine (FSM) comprising a plurality of states and state transitions, the finite state machine specifying a dialogue flow for the conversational bot, wherein the transforming of the natural language expressions into instructions comprises transforming the natural language expression into symbols at least based on a natural language processing and transforming the symbols into the instructions based on the FSM, wherein symbols comprise entities representing objects in the natural language expression and an intent representing a purpose in the natural language expression.

7. The method of claim 1 , wherein the conversational bot specification comprises invoking multiple API calls, wherein the multiple API calls are invoked in a single dialogue.

8. A system comprising means adapted for carrying out all the steps of the method according to any preceding method claim.

9. A computer program comprising instructions for carrying out all the steps of the method according to any preceding method claim, when said computer program is executed on a computer system.