-
Notifications
You must be signed in to change notification settings - Fork 62
Fix: Handle "Knowledge Base Not Initialized" on First-Time Load with Empty Pages #120
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
Conversation
Signed-off-by: RAWx18 <rawx18.dev@gmail.com>
|
@RAWx18 I think it would be better if we add demo data |
|
Or we will share the admin user guide and they will add demo data from their documents |
Yes i made it this way so that they can try on their data. Because proving on our data, doesn't prove for our clients that it is good, we need to work on their data. |
|
So i allowed them to enter their data and test it |
|
@gcapuzzi Can't we just land then on config page at first and then give option to build knowledge base there only and then redirect to chatbot page after building knowledge base |
|
The client explicitly asked me to start with the chatbot page |
|
@gcapuzzi I am suggesting this for admin not users since admin is the one to feed data so we can do that for admins and start chatbot directly for users |
|
@sancheet230 we could maintain the same behavior for users and admin..at the same time, providing "how to add documents" is a plus |
|
So do i need to change it? |
|
Merged: I'm testing |
|
@RAWx18 It seems to work file, so no changes nedeed! |
When users accessed the chatbot page for the first time, an error was thrown:
"Knowledge base not initialized"
This occurred because no data was available in the knowledge base on initial load, causing the system to fail when trying to render or access undefined content.
Screenshot (Before):

Screenshot (After):
