IBM / clai

Command Line Artificial Intelligence or CLAI is an open-sourced project from IBM Research aimed to bring the power of AI to the command line interface.
https://clai-home.mybluemix.net/
MIT License
475 stars 73 forks source link

Build issue with Spacy #101

Open TathagataChakraborti opened 3 years ago

TathagataChakraborti commented 3 years ago

@MayankAgarwal please log the issue here.

MayankAgarwal commented 3 years ago

spacy used in the manpage_agent's question detection module causes build failure. Somehow the docker build stalls with no actionable logs to triage the issue. Once spacy is removed from the requirements list, the rest of the tests pass though the ones depending on spacy still fail but expectedly so.

This build issue does not affect the installation of CLAI on the native system, and the docker build should also work fine. The error is observed only in the build system.

Possible fixes to this are:

  1. Triage and fix the spacy issue within docker
  2. Remove dependency on spacy since its used only for question detection, and use nltk or a rule-based approach for it.