Skip to content

Do not parse empty embedding sources

Nicolas Dular requested to merge nd/check-if-sources-exist into master

What does this MR do and why?

Part of #428297 (closed)

We assumed that all messages return the sources of the embeddings. However, we can't assume this as we don't know what the LLM returns.

See Sentry errors for this error: https://new-sentry.gitlab.net/organizations/gitlab/issues/284388/events/2f8ce8eb6b6c4aa599236aceb4e7308f/?project=3

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Nicolas Dular

Merge request reports