Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (e.g gpt, claude, gemini, llama, qwen, mistral).
The error in this thread was caused by the user having had data indexed with the multilingual model and the default model separately.
To Reproduce
Steps to reproduce the behavior:
Index some data with the default model.
Change model in the settings page.
Index some new data.
On any chat query, it should result in an internal server error.
Stack trace
[2024-02-21 14:13:31 +0000] [126371] [ERROR] Exception in ASGI application
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/django/db/backends/utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
psycopg2.errors.DataException: different vector dimensions 384 and 768
Potential Fixes
Delete all indexed data when search model is changed.
Maintain state of which search model was used to generate which embeddings. It will still be tricky to stitch together results across different models.
Describe the bug
The error in this thread was caused by the user having had data indexed with the multilingual model and the default model separately.
To Reproduce
Steps to reproduce the behavior:
On any chat query, it should result in an internal server error.
Stack trace
Potential Fixes
Platform
If self-hosted
Additional context
Add any other context about the problem here.