θΏ™ζ˜―indexlocζδΎ›ηš„ζœεŠ‘οΌŒδΈθ¦θΎ“ε…₯任何密码
Skip to content

Conversation

@timothycarambat
Copy link
Member

Pull Request Type

  • ✨ feat
  • πŸ› fix
  • ♻️ refactor
  • πŸ’„ style
  • πŸ”¨ chore
  • πŸ“ docs

What is in this change?

When a document is failed to embed or is failed to be inserted into a vector db we return a single generic error message that does not inform the user of why an error has occurred.

Now we can return more descriptive error messages that can at least help determine the exact location and provider that caused a document to fail to be inserted into a workspace.

Additional Information

Updated toast messages to now support \n newlines in the window.

Developer Validations

  • Test with all embedders + vector databases.
  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

@Mintplex-Labs Mintplex-Labs deleted a comment from review-agent-prime bot Jan 18, 2024
@timothycarambat timothycarambat merged commit 658e7fa into master Jan 18, 2024
@timothycarambat timothycarambat deleted the vector-db-error-messages branch January 18, 2024 19:40
cabwds pushed a commit to cabwds/anything-llm that referenced this pull request Jul 3, 2025
* chore: propogate embedder and vectordb errors during document mutations

* add default value for errors on addDocuments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants