clai icon indicating copy to clipboard operation
clai copied to clipboard

Build issue with Spacy

Open TathagataChakraborti opened this issue 4 years ago • 1 comments

@MayankAgarwal please log the issue here.

TathagataChakraborti avatar Jan 28 '21 20:01 TathagataChakraborti

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.

MayankAgarwal avatar Feb 23 '21 20:02 MayankAgarwal