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
When embedding provider is updated, existing vector store index does not work because of the embeddings mismatch. This causes an assertion error when /ask command is used and require users to manually delete the index with the /learn -d command.
Solution
When the embedding provider changes, indicate to the user that doing so will cause issues with the existing index, and the existing index will be deleted.
Prompt the user if they want to still go ahead and they also want to index all the directories they have indexed before.
Update the backend to delete the existing index, and re-index all the directories that have been learned before.
The text was updated successfully, but these errors were encountered:
Problem
When embedding provider is updated, existing vector store index does not work because of the embeddings mismatch. This causes an assertion error when
/ask
command is used and require users to manually delete the index with the/learn -d
command.Solution
The text was updated successfully, but these errors were encountered: