radicalxdev / kai-ai-backend

This is the Kai Teaching Assistant ai repo.
MIT License
12 stars 46 forks source link

7.3.1 Worksheet_Generator Problem #59

Open EdwardShiung opened 1 week ago

EdwardShiung commented 1 week ago

I've already activated the docker environment, activated the virtual environment, installed all the requirements, and run the application. However, when I did the unit test for "core.py", which is located in the "features/worksheet_generator/core.py", it shows up the error, which is "no module langchain_chroma".

image

Please take a look at "tool.py".

mikhailocampo commented 1 week ago

I believe this is because you are trying to import the RAGPipeline class. We will need to review your code that you have with that workspace such as what is within your features/worksheet_generator/ folder

EdwardShiung commented 1 week ago

Thank you!! It should be the problem like you said. The RAGPipeline is in the "tool.py". Please review that!! Thank you!!