发明名称 Natural Language Access to Application Programming Interfaces
摘要 Users of online services may avoid having to gain knowledge of the intricacies of specific Application Programming Interface (API) syntaxes and elements by using natural language requests which are processed to extract components of the request. The components are then used to find one or more matches of known APIs, and then at least one structured API call is constructed by mapping the request's components to the structured API call's elements. The system can then invoke the online service on behalf of the client, and return the results to the client, or it can return the constructed structured API call to the client. The known API details can be initialized and updated by ingesting the description documents for the structured APIs, and then using natural language processing to extract components from the descriptions, which can then be utilized in the matching process to further enhance the results of the tool.
申请公布号 US2015169385(A1) 申请公布日期 2015.06.18
申请号 US201414585649 申请日期 2014.12.30
申请人 International Business Machines Corporation 发明人 Allen Corville O.;Rodriguez Adrian X.;Salmon Richard A.;Woods Eric
分类号 G06F9/54;G06F9/46 主分类号 G06F9/54
代理机构 代理人
主权项 1. A method for handling a user request for invoking a computer service through an Application Programming Interface, comprising: performing a first natural language (NL) analysis by a computer on one or more computer service user programming documents, wherein the API user documents describe in structured natural language one or more structured Application Programming Interfaces (API's) with one or more API elements, and wherein each API element corresponds to a parameter or argument to use or invoke the computer service; extracting by a computer the one or more API elements from the user programming document according to the first NL analysis; performing a second NL analysis by a computer on an unstructured request from a client to use or invoke the computer service, the unstructured request comprising natural language containing one or more request components; matching by a computer the one or more request components to the one or more API elements; constructing by a computer a structured API call suing the matching request components for API elements; and performing by a computer one or more operations selected from the group consisting of submitting the constructed structured API call to the computer service on behalf of the client, returning the constructed structured API call to the requesting client, and returning a result from an invoked corresponding computer service to the requesting client.
地址 Armonk NY US