Pith. sign in

REVIEW 2 cited by

Advanced System Integration: Analyzing OpenAPI Chunking for Retrieval-Augmented Generation

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2411.19804 v2 pith:HIB7UVES submitted 2024-11-29 cs.SE cs.AI

classification cs.SEcs.AI
keywords discoveryendpointtokenagentchunkinginputendpointsfurther
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Integrating multiple (sub-)systems is essential to create advanced Information Systems (ISs). Difficulties mainly arise when integrating dynamic environments across the IS lifecycle. A traditional approach is a registry that provides the API documentation of the systems' endpoints. Large Language Models (LLMs) have shown to be capable of automatically creating system integrations (e.g., as service composition) based on this documentation but require concise input due to input token limitations, especially regarding comprehensive API descriptions. Currently, it is unknown how best to preprocess these API descriptions. Within this work, we (i) analyze the usage of Retrieval Augmented Generation (RAG) for endpoint discovery and the chunking, i.e., preprocessing, of OpenAPIs to reduce the input token length while preserving the most relevant information. To further reduce the input token length for the composition prompt and improve endpoint retrieval, we propose (ii) a Discovery Agent that only receives a summary of the most relevant endpoints and retrieves details on demand. We evaluate RAG for endpoint discovery using the RestBench benchmark, first, for the different chunking possibilities and parameters measuring the endpoint retrieval recall, precision, and F1 score. Then, we assess the Discovery Agent using the same test set. With our prototype, we demonstrate how to successfully employ RAG for endpoint discovery to reduce the token count. While revealing high values for recall, precision, and F1, further research is necessary to retrieve all requisite endpoints. Our experiments show that for preprocessing, LLM-based and format-specific approaches outperform na\"ive chunking methods. Relying on an agent further enhances these results as the agent splits the tasks into multiple fine granular subtasks, improving the overall RAG performance in the token count, precision, and F1 score.

Discussion (0). Sign in to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Retrieval-Augmented Generation for Service Discovery: Chunking Strategies and Benchmarking

    cs.SE 2025-05 conditional novelty 6.0 of 10

    Endpoint-based chunking outperforms naive splitting for RAG-based endpoint discovery, and an LLM agent raises precision at the cost of recall, evaluated on a new multi-domain benchmark and RestBench.

  2. Engineering RAG Systems for Real-World Applications: Design, Development, and Evaluation

    cs.SE 2025-06 conditional novelty 4.0 of 10

    A field study of five real-world RAG systems evaluated by 100 users, yielding user ratings and twelve engineering lessons.

Pith tools