| CPC G06F 8/71 (2013.01) [G06F 8/36 (2013.01); G06F 8/443 (2013.01); G06F 8/73 (2013.01); G06F 8/75 (2013.01); G06N 5/02 (2013.01); G06F 8/72 (2013.01)] | 9 Claims |

|
1. An apparatus for adding a library model to a library knowledge base, comprising:
means for receiving, by a device comprising a processor and a memory, a software program to be submitted as a library model,
means for generating—a library configuration file comprising a plurality of data fields containing information identifying the library model, a set of custom inputs for the library model, and a set of code snippets that are functionally similar to the library model;
means for submitting—the library configuration file to a validator which validates the library configuration file to ensure that the library model is correctly formatted and satisfies predetermined library model constraints, wherein:
the means for submitting the library configuration file comprises means for evaluating the library configuration file with a means for validating to ensure that the library model is correctly formatted and satisfies predetermined library model constraints; and
wherein the means for validating comprises (i) means for checking that the library configuration file is correctly formatted for performing a validity check on the set of code snippets and (ii) means for performing a validity check on the set of custom inputs to ensure that the library model satisfies predetermined library model constraints; and
means for adding the library model to the library knowledge base if the library configuration file is correctly formatted and satisfies predetermined library model constraints.
|