| CPC G06F 9/54 (2013.01) | 17 Claims |

|
1. A method for generating a payload response for a requested functionality in a system environment, the method comprising:
receiving, at a network system, a payload request from a client device, the payload request comprising a natural language request for the requested functionality;
applying, at the network system, a small language model to the payload request to determine a set of candidate APIs from a catalog based on embeddings generated by the small language model that map the natural language in the payload request to the functionality of the APIs in the catalog, wherein determining the set of candidate APIs comprises:
determining, for each API of a plurality of APIs in the catalog, a score quantifying a likelihood the API is semantically or syntactically relevant to language in the payload request; and
selecting the APIs having scores above a threshold score as candidate APIs in the set of candidate APIs;
applying, at the network system, a large language model to the payload request and the candidate APIs to determine a selected API that performs the requested functionality, the large language model interpreting context and intent of the payload request to select a candidate API from the set of candidate APIs as the selected API based on the context and intent; and
providing the payload response to the client device, the providing comprising:
providing a location of the selected API to the client device;
executing, using a system hosting the API at the location, the selected API to generate a payload response including the requested functionality; and
transmitting, from the system to the client device, the generated payload response.
|