Fixed typo

This commit is contained in:
Neeraj Gupta 2024-05-13 16:33:48 +05:30
parent be44665128
commit acd61fc084

View file

@ -146,7 +146,7 @@ func (c *Controller) GetFilesEmbedding(ctx *gin.Context, req ente.GetFilesEmbedd
embeddingsWithData := make([]ente.Embedding, 0)
noEmbeddingFileIds := make([]int64, 0)
dbFileIds := make([]int64, 0)
// fileIDs that were indexed but they don't contain any embedding information
// fileIDs that were indexed, but they don't contain any embedding information
for i := range userFileEmbeddings {
dbFileIds = append(dbFileIds, userFileEmbeddings[i].FileID)
if userFileEmbeddings[i].Size != nil && *userFileEmbeddings[i].Size < minEmbeddingDataSize {