API recommendation-oriented intention clarification method based on knowledge graph driven path optimization
The invention provides an API recommendation-oriented intent clarification method based on knowledge graph driven path optimization, which comprises the following steps of: S1, extracting entities reflecting API actions, events, objects and constraints, enriching relationship categories among the en...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides an API recommendation-oriented intent clarification method based on knowledge graph driven path optimization, which comprises the following steps of: S1, extracting entities reflecting API actions, events, objects and constraints, enriching relationship categories among the entities, and storing the extracted entities and relationships by taking a knowledge graph as a carrier; s2, generating a dialogue process based on the API knowledge graph, clarifying the requirements of a user, searching a sub-graph from the knowledge graph according to a query statement input by the user, designing a guide mechanism and a decision tree algorithm, and generating a man-machine dialogue process; s3, the APIs are expanded and interpretability is provided, other APIs having a semantic relationship with the initial API are obtained through expansion, mapping from the dialogue process to the knowledge graph is achieved, and the optimal clear path of each API is obtained. According to the method, the insta |
---|