// Path: indexer/ai/src/main/java/com/google/cloudsearch/exceptions/InvalidConfigException.java
// public class InvalidConfigException extends Exception {
//         public InvalidConfigException(String e){
//             super(e);
//         }
// }


import com.google.cloudsearch.exceptions.InvalidConfigException;
import org.apache.log4j.BasicConfigurator;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;
package com.google.cloudsearch.ai;


/**
 * Generates a set of skills based on the configuration.
 */
public class AISkillSet {

    private List<AISkill> skills;
    private Logger log = Logger.getLogger(AISkillSet.class);

    /**
     * Constructor
     * @param skillSet      The aiSkillSet object from the Configuration.
     * @param schema        CloudSearch Schema
     * @throws InvalidConfigException   Throws exception if the config in invalid.
     */
// Path: indexer/ai/src/main/java/com/google/cloudsearch/exceptions/InvalidConfigException.java
// public class InvalidConfigException extends Exception {
//         public InvalidConfigException(String e){
//             super(e);
//         }
// }


// Path: indexer/ai/src/main/java/com/google/cloudsearch/ai/AISkillSet.java
import com.google.cloudsearch.exceptions.InvalidConfigException;
import org.apache.log4j.BasicConfigurator;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;

package com.google.cloudsearch.ai;


/**
 * Generates a set of skills based on the configuration.
 */
public class AISkillSet {

    private List<AISkill> skills;
    private Logger log = Logger.getLogger(AISkillSet.class);

    /**
     * Constructor
     * @param skillSet      The aiSkillSet object from the Configuration.
     * @param schema        CloudSearch Schema
     * @throws InvalidConfigException   Throws exception if the config in invalid.
     */
    public AISkillSet(JSONObject skillSet, JSONObject schema) throws InvalidConfigException {