Automatic Service Composition Agent Based on Large Model
With the rapid development of information technology, there is an escalating demand for services that are both comprehensive and personalized. Obviously, a single service can no longer satisfy with the needs of life. Scholars have attempted to compose a large number of services using artificial intelligence methods such as deep learning and reinforcement learning to achieve better results. Despite the inherent adaptability of these methodologies, they are still beset with challenges in accurately gauging the quality of services, leading to suboptimal composition in environments characterized by high dynamism. To address this issue, this paper creatively proposes an Intelligent Agent for Automatic Service Composition based on Large Language Models (ASCALM). Firstly, it can automatically generate a list of the most suitable APIs needed for service composition according to the specific needs of the user, next, we use ChatGPT-4 to select and confirm the candidate API, perform the execution operations on the candidate APIs through the decision tree algorithm, and finally, the large language model combines and analyzes all the results to generate the final answer. The experiments are carried out based on thousands of diverse API's from different domains such as finance, food, economy, travel, science, etc. as a dataset. Under the action of our proposed method, the effect of using the big model to compose different API executions can reach the level of composition by experts in relevant specific fields. In the future, this kind of automatic composition model can be applied to all aspects of human life.
Authors
- Lixin Zhang (ORCID: https://orcid.org/0000-0001-6799-3586)
- Xiaoyong Zhao
- Lei Wang (ORCID: https://orcid.org/0000-0002-8484-0060)
Institutions
- Beijing Information Science & Technology University (CN)
Publication Details
- Published
- 2024-11-08
- DOI
- https://doi.org/10.1109/isceic63613.2024.10810159
- Citations
- 3
- Primary Topic
- Service-Oriented Architecture and Web Services
- Type
- article
- Field-Weighted Citation Impact
- 2.34