deeppavlov/agents/ecommerce_agent/ecommerce_agent.py
def make_agent() -> EcommerceAgent:
    """Make an agent

    Returns:
        agent: created Ecommerce agent
    """

    config_path = find_config('tfidf_retrieve')
    skill = build_model(config_path)
    agent = EcommerceAgent(skills=[skill])
    return agent
def make_agent() -> EcommerceAgent:
    config_path = find_config('tfidf_retrieve')
    skill = build_model(config_path)
    agent = EcommerceAgent(skills=[skill])
    return agent
def make_agent ( ) -> EcommerceAgent : config_path = find_config ( 'tfidf_retrieve' ) skill = build_model ( config_path ) agent = EcommerceAgent ( skills = [ skill ] ) return agent
Make an agent

    Returns:
        agent: created Ecommerce agent
Make an agent