You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Users/akhalid/mambaforge/envs/chatbot/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 1971, in _exec_single_context
self.dialect.do_execute(
File "/Users/akhalid/mambaforge/envs/chatbot/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 919, in do_execute
cursor.execute(statement, parameters)
sqlite3.OperationalError: no such column: sources.content
This looks like the aftermath of #264 that was released with 0.2.0. Was the database you are using created by 0.1.x? The default location should be ~/.cache/ragna/ragna.db. Deleting it should resolve your issue.
Yeah, we should probably catch this error and throw a more descriptive one. Actually deleting anything is something that we can't do, because you can hook any database into Ragna, not just sqllite local ones. But even if we could, we shouldn't do destructive operations by default.
Bug description
Select all storages and both ChatGPT assistants, then
OPENAI_API_KEY="..." ragna ui
Try to add a PDF document and start a chat. I've tried many different documents, but they result in the same error.
ragna.log
How to reproduce the bug?
Try to add a PDF document and start a chat.
Versions and dependencies used
conda create -n chatbot python=3 && pip install 'ragna[all]'
Anything else?
No response
The text was updated successfully, but these errors were encountered: