Corrupted database after attempting to import from Chabotui.com
johnbrownlow opened this issue · comments
(This is now a showstopper as I don't know how to fix it without rebuilding the whole thing including the database)
(I thought I had solved this but fresh install and fresh database resulted in the same error)
@johnbrownlow check this branch: https://github.com/jorge-menjivar/unSAGED/tree/import-fix
Let me know if this solves the issues
Yes! That solved it. Thank you!
I notice that it doesn't import system prompts. Is this because ChatbotUI doesn't export them?
I notice that it doesn't import system prompts. Is this because ChatbotUI doesn't export them?
Chatbot UI doesn’t have support for system prompts at all. Their “prompts”, are imported as message templates.
There are some caveats to have in mind as well. Importing the same file twice will result in duplicate messages because chatbot UI doesn’t include message IDs or timestamps, so there is no easy way of telling which messages have already been imported. I guess we could go message by message comparing the content to find the difference and make a guess what messages the user would like to import, but that’s out scope for now.
It works fine for me right now as I'm just using it to transition. Cheers!