Natural language-aided conversational exploration of self-documenting application programming interfaces

US11036728B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11036728-B2
Application numberUS-201916532966-A
CountryUS
Kind codeB2
Filing dateAug 6, 2019
Priority dateJul 17, 2019
Publication dateJun 15, 2021
Grant dateJun 15, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Intent-based exploring of self-documenting Application Programming Interface (“API”) documents comprises receiving a document containing a plurality of descriptions of APIs, wherein the document is in a structured format; generating a plurality of entities by identifying a plurality of API definition entries in the document; generating a plurality of intents by iterating through a plurality of path entries in the document; generating a dialog by creating a plurality of phrases by iterating through the plurality of path entries in the document; receiving one or more questions from a user or developer; and in response to the one or more questions, providing one or more conversational responses to the user by a conversational application program incorporating the plurality of entities, plurality of intents, and plurality of phrases.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for intent-based exploring a self-documenting Application Programming Interface (“API”) document, the method comprising: receiving, by a computer, a document containing a plurality of descriptions of APIs, wherein the document is in a structured format; generating, by the computer, a plurality of entities, wherein each entity of the plurality of entities is associated with an API definition entry of the plurality of API definition entries in the document and wherein each entity of the plurality of entities is generated by replacing the properties attribute of the API definition entry with a regex wildcard; generating, by the computer, a plurality of intents by iterating through the plurality of entities; generating, by the computer, a dialog by creating a plurality of phrases by iterating through the plurality of path entities in the document; receiving, by the computer, one or more questions from a user; and in response to the one or more questions, providing one or more conversational responses to the user by a conversational application program incorporating the plurality of entities, plurality of intents, and plurality of phrases; thereby improving efficiency of a user interface for a software developer tool to find suitable APIs, and improving efficiency of a runtime computing environment by improving the selection of APIs which consume minimal appropriate computing and communications resources. 2. The method as set forth in claim 1 wherein the generating of a plurality of intents by iterating through a plurality of path entries in the document comprises, for each path: retrieving operation ID values; retrieving operation details to generate intent examples; and creating an intent from the operation ID values and the generated intent examples. 3. The method as set forth in claim 1 wherein the generating of a dialog by creating a plurality of phrases by iterating through the plurality of path entries in the document comprises, for each path: creating exploring API dialog nodes, and creating calling API dialog nodes. 4. The method as set forth in claim 1 wherein the self-documenting Application Programming Interface (“API”) document comprises a document selected from the group consisting of a Swagger-compliant document and an OpenAPI-compliant document. 5. The method as set forth in claim 1 wherein the self-documenting Application Programming Interface (“API”) document comprises a REpresentational State Transfer (RESTful) application programming interface description document. 6. The method as set forth in claim 1 , wherein the regex wildcard is a synonym.

Assignees

Inventors

Classifications

  • G06F16/243Primary

    Natural language query formulation · CPC title

  • Translation of natural language queries to structured queries · CPC title

  • Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30) · CPC title

  • using ranking · CPC title

  • G06F40/30Primary

    Semantic analysis · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11036728B2 cover?
Intent-based exploring of self-documenting Application Programming Interface (“API”) documents comprises receiving a document containing a plurality of descriptions of APIs, wherein the document is in a structured format; generating a plurality of entities by identifying a plurality of API definition entries in the document; generating a plurality of intents by iterating through a plurality of …
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F16/243. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jun 15 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).