Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin init failed #1377

Open
anayjain opened this issue Mar 13, 2024 · 5 comments
Open

plugin init failed #1377

anayjain opened this issue Mar 13, 2024 · 5 comments
Assignees
Labels

Comments

@anayjain
Copy link

from intel_extension_for_transformers.neural_chat import PipelineConfig
from intel_extension_for_transformers.neural_chat import build_chatbot
from intel_extension_for_transformers.neural_chat import plugins
plugins.retrieval.enable=True
plugins.retrieval.args["input_path"]="./docs/"
config = PipelineConfig(plugins=plugins)
chatbot = build_chatbot(config)

When I run this code every time I add some documents to the docs folder, it fails, giving this error below.

2024-03-13 10:54:19 [ERROR] neuralchat error: Generic error
ERROR:root:build_chatbot: plugin init failed

I'm yet to figure out how to fix this sometimes I restart my notebook session or re-edit my documents ( they are xlsx files).
Please tell me the method so that when I have to build a chatbot it doesn't keep crashing.

@kta-intel
Copy link
Contributor

Hi, thanks for bringing this up. Let me try to reproduce this and get back to you

@kta-intel
Copy link
Contributor

I can't seem to reproduce the issue. Can you give some more details into when it crashes?
You build the chatbot initially and it runs fine. You then add documents to the docs folder and try to rebuild the chatbot then it crashes?

Also, what version of itrex are you using? Might be helpful to install from source for latest updates

@kta-intel
Copy link
Contributor

@anayjain Hi, are you still running into issues or may we close?

@anayjain
Copy link
Author

@kta-intel Hi sorry I'm revisiting this. yes, I still get this error time and again whenever I add new files to my doc folder ( new CSV file) and then I fail to build the init plugin.

@anayjain
Copy link
Author

@NeoZhangJianyu Hi can someone please help me with this? It would be of great help thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants