Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

plugin init failed #1377

Open
Open
@anayjain

Description

@anayjain

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions